移除 FreeSql.DbContext,成为独立项目

This commit is contained in:
28810
2019-04-01 10:48:39 +08:00
parent 3ca91b70a9
commit be5259dd68
32 changed files with 35 additions and 1862 deletions

View File

@ -41,12 +41,6 @@ namespace orm_vs
//optionsBuilder.UseMySql("Data Source=127.0.0.1;Port=3306;User ID=root;Password=root;Initial Catalog=cccddd;Charset=utf8;SslMode=none;Min Pool Size=21;Max Pool Size=21");
}
}
class FreeSongContext: FreeSql.DbContext {
public FreeSql.DbSet<Song> Songs { get; set; }
protected override void OnConfiguring(FreeSql.DbContextOptionsBuilder builder) {
builder.UseFreeSql(fsql);
}
}
static void Main(string[] args) {

View File

@ -12,7 +12,6 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\FreeSql.DbContext\FreeSql.DbContext.csproj" />
<ProjectReference Include="..\..\FreeSql\FreeSql.csproj" />
</ItemGroup>