3 overrides of Type
System.Data.Linq (3)
Mapping\AttributedMetaModel.cs (1)
1098
public override Type
Type
{
Mapping\MappedMetaModel.cs (2)
1053
public override Type
Type
{
1750
public override Type
Type
{
43 references to Type
System.Data.Linq (41)
ChangeConflicts.cs (2)
330
if (member.
Type
== typeof(char[])) {
333
else if (member.
Type
== typeof(byte[])) {
ChangeDirector.cs (2)
305
accessor.SetBoxedValue(ref current, DBConvert.ChangeType(value, mm.
Type
));
369
Expression.Constant(memberValue, mm.
Type
)
DataServices.cs (4)
274
Expression keyValueExpression = Expression.Constant(keyValues[i], metaMember.
Type
);
290
? System.Data.Linq.SqlClient.TypeSystem.GetElementType(member.
Type
)
291
: member.
Type
;
423
mm.
Type
IdentityManager.cs (2)
81
typeof(SingleKeyManager<,>).MakeGenericType(type.Type, mm.
Type
),
89
typeof(MultiKeyManager<,,>).MakeGenericType(type.Type, mm.
Type
, km.KeyType),
Mapping\AttributedMetaModel.cs (6)
402
if (!MappingSystem.IsSupportedDiscriminatorType(this.Discriminator.
Type
)) {
403
throw Error.DiscriminatorClrTypeNotSupported(this.Discriminator.DeclaringType.Name, this.Discriminator.Name, this.Discriminator.
Type
);
424
object codeValue = DBConvert.ChangeType(attr.Code, this.Discriminator.
Type
);
652
if (mm.IsPrimaryKey && !MappingSystem.IsSupportedIdentityType(mm.
Type
))
654
throw Error.IdentityClrTypeNotSupported(mm.DeclaringType, mm.Name, mm.
Type
);
771
if (this.InheritanceRoot.Discriminator.
Type
== typeof(string)) {
Mapping\MappedMetaModel.cs (6)
434
if (!MappingSystem.IsSupportedDiscriminatorType(this.Discriminator.
Type
)) {
435
throw Error.DiscriminatorClrTypeNotSupported(this.Discriminator.DeclaringType.Name, this.Discriminator.Name, this.Discriminator.
Type
);
507
object keyValue = DBConvert.ChangeType(typeMap.InheritanceCode, this.Discriminator.
Type
);
721
if (mm.IsPrimaryKey && !MappingSystem.IsSupportedIdentityType(mm.
Type
))
723
throw Error.IdentityClrTypeNotSupported(mm.DeclaringType, mm.Name, mm.
Type
);
851
if (this.InheritanceRoot.Discriminator.
Type
== typeof(string)) {
SqlClient\Common\SqlFactory.cs (2)
498
return new SqlMember(member.
Type
, this.Default(member), expr, member.Member);
589
return this.typeProvider.From(member.
Type
);
SqlClient\Query\MethodCallConverter.cs (1)
302
Type discriminatorType = mt.Discriminator.
Type
;
SqlClient\Query\QueryConverter.cs (8)
2433
if (id.
Type
== typeof(Guid) && (this.converterStrategy & ConverterStrategy.CanOutputFromInsert) != 0) {
2434
sin.OutputKey = new SqlColumn(id.
Type
, sql.Default(id), id.Name, id, null, this.dominatingExpression);
2471
if (exp.ClrType != id.
Type
) {
2473
exp = sql.ConvertTo(id.
Type
, sqlType, exp);
2477
ParameterExpression p = Expression.Parameter(id.
Type
, "p");
2519
return new SqlVariable(id.
Type
, sql.Default(id), "@id", this.dominatingExpression);
2601
new SqlValue(mdm.
Type
, this.typeProvider.From(mdm.
Type
), mmi.CurrentValue, true, source),
SqlClient\Query\Translator.cs (5)
53
Type dt = discriminator.
Type
;
126
return new SqlLink(new object(), otherType, member.
Type
, typeProvider.From(member.
Type
), item, member, exprs, null, source);
137
return new SqlLink(new object(), thisType, member.
Type
, typeProvider.From(member.
Type
), item, member, exprs, expansion, source);
SqlClient\Reader\ObjectReaderCompiler.cs (2)
1371
? TypeSystem.GetElementType(link.Member.
Type
)
1372
: link.Member.
Type
;
SqlClient\SqlBuilder.cs (1)
197
Type type = mm.
Type
;
System.Web.DynamicData (2)
DynamicData\DynamicDataExtensions.cs (1)
271
if (member.
Type
.Equals(rowType)) continue;
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
127
Type type = member.
Type
;