Beispiel #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="SqlServerDbMetaInfo" /> class.
 /// </summary>
 public SqlServerDbMetaInfo()
 {
     _errorCodes = new DbErrorCodes
     {
         BadSqlGrammarCodes          = new[] { "156", "170", "207", "208" },
         PermissionDeniedCodes       = new[] { "229" },
         DataIntegrityViolationCodes = new[] { "544", "2627", "8114", "8115" },
         DeadlockLoserCodes          = new[] { "1205" }
     };
 }
Beispiel #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="GenericDbMetaInfo" /> class.
 /// </summary>
 public GenericDbMetaInfo()
 {
     ErrorCodes = new DbErrorCodes();
 }