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