Esempio n. 1
0
 public SqlParameter()
 {
     this.sqlDbType           = sqlDbTypeEnum.NVarChar;
     this.direction           = ParameterDirection.Input;
     this.maxLength           = ((long)(1));
     this.precision           = ((byte)(18));
     this.scale               = ((byte)(0));
     this.clrTypeName         = "";
     this.sqlCompareOptions   = sqlCompareOptionsList.None;
     this.localeId            = -1;
     this.sqlCollationVersion = 0;
     this.sqlSortId           = 0;
 }
 public SqlParameter()
 {
     this.sqlDbTypeField         = sqlDbTypeEnum.NVarChar;
     this.directionField         = ParameterDirection.Input;
     this.maxLengthField         = ((long)(1));
     this.precisionField         = ((byte)(18));
     this.scaleField             = ((byte)(0));
     this.clrTypeNameField       = "";
     this.sqlCompareOptionsField = new sqlCompareOptionsEnum[] {
         sqlCompareOptionsEnum.Default
     };
     this.localeIdField            = -1;
     this.sqlCollationVersionField = 0;
     this.sqlSortIdField           = 0;
     this.xmlSchemaCollectionField = "";
 }