22 lines
448 B
C#
22 lines
448 B
C#
using CC.Yi.DAL;
|
|
using CC.Yi.IDAL;
|
|
using CC.Yi.Model;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
|
|
namespace CC.Yi.DALFactory
|
|
{
|
|
public partial class DbSession : IDbSession
|
|
{
|
|
public int SaveChanges()
|
|
{
|
|
return DbContentFactory.GetCurrentDbContent().SaveChanges();
|
|
}
|
|
public DataContext GetDbContent()
|
|
{
|
|
return DbContentFactory.GetCurrentDbContent();
|
|
}
|
|
|
|
}
|
|
}
|