Exemplo n.º 1
0
 /// <summary>
 /// 建构函数,设置附着的Xml文件。
 /// </summary>
 /// <param name="context">数据库连接上下文</param>
 /// <param name="source">附着的数据源</param>
 public CorpUserResolver(IDbDataSource source)
     : base(CreateSchema(), source)
 {
     FakeDelete = new FakeDeleteInfo("ValidFlag", "1");
     AutoUpdateKey = true;
     AutoTrackField = true;
     fUserList = new CorpUserStatusList();
     if (CommitSource != null)
         CommitSource.CommittedData += CommitSource_CommittedData;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 建构函数,设置附着的Xml文件。
 /// </summary>
 /// <param name="context">数据库连接上下文</param>
 /// <param name="source">附着的数据源</param>
 public CorpUserResolver(IDbDataSource source)
     : base(CreateSchema(), source)
 {
     FakeDelete     = new FakeDeleteInfo("ValidFlag", "1");
     AutoUpdateKey  = true;
     AutoTrackField = true;
     fUserList      = new CorpUserStatusList();
     if (CommitSource != null)
     {
         CommitSource.CommittedData += CommitSource_CommittedData;
     }
 }