public GeneralStorageWrite(IConnectionManager connectionManager, SimpleCRUD.ITableNameResolver tableNameResolver, DomainSqlConfig option)
     : base(connectionManager, tableNameResolver, option)
 {
 }
Exemple #2
0
 protected DbService(DomainSqlConfig domainSqlConfig, IConnectionManager connectionManager)
 {
     _domainSqlConfig   = domainSqlConfig;
     _connectionManager = connectionManager;
 }
Exemple #3
0
        protected BaseStorageWrite(IConnectionManager connectionManager, SimpleCRUD.ITableNameResolver tableNameResolver, DomainSqlConfig option)
            : base(connectionManager, tableNameResolver)
        {
            var key = typeof(T).Name;

            if (option.SqlMap != null && option.SqlMap.ContainsKey(key))
            {
                _domainSql = option.SqlMap[key];
            }
        }