Beispiel #1
0
 /// <inheritdoc />
 /// <summary>
 /// Sql Server Data access
 /// </summary>
 /// <param name="connectionString">Connection string</param>
 /// <param name="accessType">Data access type</param>
 public SqlServerDataAccess(string connectionString, DataAccessType accessType = DataAccessType.StoredProcedure)
 {
     ConnectionString     = connectionString;
     AccessType           = accessType;
     ParametersBinder     = new SqlServerParametersBinder(this);
     EntityValueConverter = new SqlServerEntityValueConverter(this);
 }
Beispiel #2
0
 /// <inheritdoc />
 /// <summary>
 /// Sql Server Data access
 /// </summary>
 public SqlServerDataAccess()
 {
     AccessType           = DataAccessType.Query;
     ParametersBinder     = new SqlServerParametersBinder(this);
     EntityValueConverter = new SqlServerEntityValueConverter(this);
 }