strugglesharp

Results 4 issues of strugglesharp

在代码里的DataContextFactory写DBConnStr, 万一那天改了配置文件, 代码里忘了改了,那不是出大问题了? 我建议让DataContextFactory直接读配置文件. 当前只测试了sqlserver,其他没测. 需要的朋友自己加就行了. ```csharp public class DataContextFactory : IDesignTimeDbContextFactory { public DataContext CreateDbContext(string[] args) { var cfgJson = new ConfigurationBuilder().AddJsonFile("appsettings.json").Build(); var dbconnstr = cfgJson.GetSection("Connections:0:Value").Value; var dbtype =...

bug

怎么读取通道的连接状态? 万一断线了呢? 会自动重连吗?

For instance tag ObjId, realize the serialization of circular reference or multiple references. 在几乎序列化类库中, 都没有指出相同的实例引用在xml中的对应关系. 这就造成了两个问题: In almost all serialized class libraries, the correspondence of the same instance reference in...

size/XL

Why did the test project fail 10?