ormlite mysql
1、
public OrmLiteConnectionFactory ormlit1 = new OrmLiteConnectionFactory("server=localhost;user id=root;password=root;persist security info=True;database=weibodata;CharSet='utf8';", MySqlDialect.Provider);
2、使用ServiceStack.Text.JsonSerializer.DeserializeFromString<List<string>>(filedata)实例化对象
[Datacontract] class xxx{ [datamember] public long ms{get;set;} }
与json中的属性相对应