public EasyDataAccessor(string connectionString, CommandType?commandType, int?connectionTimeout) { Settings = new EasyDataAccessorSettings(); Settings.ConnectionString = connectionString; Settings.ConnectionTimeout = connectionTimeout.Value; Settings.ProviderCommandType = commandType ?? CommandType.Text; Settings.DbConnectionType = typeof(T); }
internal EasyDataAccessor(string connectionString, CommandType?commandType, int?connectionTimeout, Type dbConnectionType) { Settings = new EasyDataAccessorSettings(); Settings.ConnectionString = connectionString; Settings.ConnectionTimeout = connectionTimeout.Value; Settings.ProviderCommandType = commandType ?? CommandType.Text; Settings.DbConnectionType = dbConnectionType; }
public EasyDataAccessor() { Settings = new EasyDataAccessorSettings(); }