Base:
property
Size
System.Data.Linq.SqlClient.ProviderType.Size
23 references to Size
System.Data.Linq (23)
SqlClient\SqlTypeSystemProvider.cs (23)
257return new SqlType(SqlDbType.Char, this.Size); 261return new SqlType(SqlDbType.VarChar, this.Size); 297else if (!this.IsChar && !this.IsString && this.IsFixedSize && this.Size > 0 /*&& this.Size != LargeTypeSizeIndicator*/) { // commented out because LargeTypeSizeIndicator == -1 298return (this.Size < defaultSize); 639return Size == 1; 656return Size == 0 || Size > 1 || Size == LargeTypeSizeIndicator; 681this.Size == that.Size && 1012if (declaredType.Size.HasValue && parameter.Size <= declaredType.Size || declaredType.IsLargeType) { 1013return declaredType.Size.Value; 1358if (sqlTypeA.Size.HasValue && sqlTypeB.Size.HasValue) { 1359bestSize = (sqlTypeB.Size > sqlTypeA.Size) ? sqlTypeB.Size : sqlTypeA.Size; 1362if (sqlTypeB.Size.HasValue && sqlTypeB.Size.Value == LargeTypeSizeIndicator 1363|| sqlTypeA.Size.HasValue && sqlTypeA.Size.Value == LargeTypeSizeIndicator) {