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> >(); }
public StoreBase() { _objCloner = new ObjectCloner(); }
public Configuration() { UniqueIdentifierName = "Id"; IdentityGenerator = new IntIdGenerator(); ObjectCloner = new CloneUsingServiceStackJson(); }