未完成,回家继续using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Algorithems{ class...
分类:
其他好文 时间:
2014-06-28 18:52:16
阅读次数:
267
linux系统下基于mono部署asp.net,使用ef6与mysql出现的问题,弄了个索引方便查找。entity Framework 6 已经可以很好的与mysql在linux使用了,如果中间出现vs退出问题,那么请您重装下那个for visual studio的插件
分类:
数据库 时间:
2014-06-28 16:24:04
阅读次数:
281
要实现获取代码所在的位置信息的功能,类System.Diagnostics.StackFrame是关键,源码如下: 1using System;2using System.Collections.Generic;3using System.Linq;4using System.Text;5using...
分类:
其他好文 时间:
2014-06-28 16:12:22
阅读次数:
261
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Reflection;namespace RftToModel { ...
分类:
其他好文 时间:
2014-06-24 10:11:11
阅读次数:
151
第一部分,什么是Linq to sql Linq to sql(或者叫DLINQ)是LINQ(.NET语言集成查询)的一部分,全称基于关系数据的.NET语言集成查询,用于以对象形式管理关系数据,并提供了丰富的查询功能,它和Linq to xml、Linq to objects、Linq to dat...
分类:
数据库 时间:
2014-06-24 09:21:25
阅读次数:
388
1.获取java entity里的属性有俩个方法:getDeclaredField()和getField(); getField() 只能获取public类型的属性; getDeclaredField() 能获取类或接口声明的所有属性; 如:import java.lang.reflect.*;.....
分类:
编程语言 时间:
2014-06-23 08:08:34
阅读次数:
256
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Text.RegularExpressions; 6 7 nam...
分类:
其他好文 时间:
2014-06-20 23:01:38
阅读次数:
268
User表通常是我们在写“XX管理系统”项目时必须要用到的,有的情况下人员的分类属于树形结构,就是除了最高层和最低层,中间层都有相对的父和子,设计数据库的时候,我们通常会加一个parent_id这样的字段。这样我们就可以通过当前用户的user_id查询出他的直接下属有哪些,或者通过parent_id...
分类:
数据库 时间:
2014-06-20 20:23:51
阅读次数:
263
文件IOusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq...
分类:
其他好文 时间:
2014-06-20 15:58:13
阅读次数:
163
首先定义个Person类:1 public class Person2 {3 public string Name{get;set;} //姓名4 public int Age{get;set;} //年龄5 }定义好List,并添加几条数据:1 List lstPerson=new List(.....
分类:
其他好文 时间:
2014-06-20 15:51:08
阅读次数:
251