コード例 #1
0
 public DatabaseEngine(IIdentityGenerator identityGenerator, IObjectCloner objectCloner, string uniqueIdPropName)
 {
     _objectObjectCloner = objectCloner;
     _idGenerator        = identityGenerator;
     _uniqueIdPropName   = uniqueIdPropName;
     _collections        = new ThreadLocal <Dictionary <string, Dictionary <string, dynamic> > >();
     _collections.Value  = new Dictionary <string, Dictionary <string, dynamic> >();
 }
コード例 #2
0
 public StoreBase()
 {
     _objCloner = new ObjectCloner();
 }
コード例 #3
0
 public Configuration()
 {
     UniqueIdentifierName = "Id";
     IdentityGenerator    = new IntIdGenerator();
     ObjectCloner         = new CloneUsingServiceStackJson();
 }