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