mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
移除 FreeSql.DbContext,成为独立项目
This commit is contained in:
@ -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) {
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\FreeSql.DbContext\FreeSql.DbContext.csproj" />
|
||||
<ProjectReference Include="..\..\FreeSql\FreeSql.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
|
Reference in New Issue
Block a user