1 write to IsEntityType
System.Data.Services.Client (1)
System\Data\Services\Client\ClientType.cs (1)
264
this.
IsEntityType
= (null != keyPropertyDeclaredType) || isEntity;
16 references to IsEntityType
System.Data.Services.Client (16)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (1)
179
if (me != null && ClientType.Create(me.Expression.Type, false).
IsEntityType
)
System\Data\Services\Client\AtomMaterializer.cs (2)
662
if (entry.ShouldUpdateFromPayload && ClientType.Create(property.NullablePropertyType, false).
IsEntityType
)
1001
else if (!targetType.
IsEntityType
&& this.parser.IsDataWebElement)
System\Data\Services\Client\AtomMaterializerLog.cs (2)
390
return entry.ActualType.
IsEntityType
;
407
return type.
IsEntityType
;
System\Data\Services\Client\Binding\BindingEntityInfo.cs (2)
206
return ClientType.Create(type).
IsEntityType
;
314
if (bindingEntityInfo.ClientType.
IsEntityType
|| bpi.PropertyKind == BindingPropertyKind.BindingPropertyKindComplex)
System\Data\Services\Client\ClientType.cs (1)
382
return ClientType.Create(t, false).
IsEntityType
;
System\Data\Services\Client\DataServiceContext.cs (8)
1845
Debug.Assert(null != descriptor.Entity && ClientType.Create(descriptor.Entity.GetType()).
IsEntityType
, "must be entity type to attach");
2523
if (!ClientType.Create(entity.GetType()).
IsEntityType
)
3238
Debug.Assert(type.
IsEntityType
, "must be entity type to be contained");
3340
if (!nested.
IsEntityType
)
3484
Debug.Assert(type.
IsEntityType
, "should be enforced by just adding an object");
3511
Debug.Assert(type.
IsEntityType
, "should be enforced by just adding an object");
3731
Debug.Assert(type.
IsEntityType
, "must be entity type to be contained");
3908
if ((null != child) && (MergeOption.NoTracking != materializer.MergeOptionValue) && clientType.
IsEntityType
)