39 references to Create
System.Data.Services.Client (39)
parent\Server\System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
157
resourceProperty.IsKnownType ? null : ClientType.
Create
(resourceProperty.PropertyType),
System\Data\Services\Client\AtomMaterializer.cs (11)
512
ClientType.ClientProperty property = ClientType.
Create
(expectedType).GetProperty(propertyName, false);
556
ClientType entryType = entry.ActualType ?? ClientType.
Create
(expectedType);
745
ClientType.ClientProperty property = ClientType.
Create
(expectedType).GetProperty(propertyName, false);
809
ClientType complexType = ClientType.
Create
(property.PropertyType);
989
ClientType targetType = ClientType.
Create
(underlyingExpectedType);
1324
ClientType complexType = ClientType.
Create
(prop.PropertyType);
1617
entry.ActualType = ClientType.
Create
(entry.ResolvedObject.GetType());
1643
entry.ActualType = ClientType.
Create
(entry.ResolvedObject.GetType());
1672
entry.ActualType = ClientType.
Create
(type);
1778
ClientType collectionType = ClientType.
Create
(property.CollectionType);
1809
ClientType collectionType = ClientType.
Create
(property.CollectionType);
System\Data\Services\Client\AtomMaterializerLog.cs (1)
406
ClientType type = ClientType.
Create
(entity.GetType());
System\Data\Services\Client\Binding\BindingEntityInfo.cs (2)
206
return ClientType.
Create
(type).IsEntityType;
282
bindingEntityInfo.ClientType = ClientType.
Create
(entityType);
System\Data\Services\Client\DataServiceContext.cs (23)
920
ClientType clientType = ClientType.
Create
(entity.GetType());
1428
ClientType parentType = ClientType.
Create
(source.GetType());
1436
ClientType childType = ClientType.
Create
(target.GetType());
1440
ClientType propertyElementType = ClientType.
Create
(property.CollectionType);
1814
bool collectionProperty = (null != ClientType.
Create
(source.GetType()).GetProperty(sourceProperty, false).CollectionType);
1845
Debug.Assert(null != descriptor.Entity && ClientType.
Create
(descriptor.Entity.GetType()).IsEntityType, "must be entity type to attach");
2323
ClientType clientType = ClientType.
Create
(entity.GetType());
2391
bool collection = (null != ClientType.
Create
(link.Source.GetType()).GetProperty(link.SourceProperty, false).CollectionType);
2523
if (!ClientType.
Create
(entity.GetType()).IsEntityType)
2537
if (ClientType.
Create
(entity.GetType()).KeyCount <= 0)
2703
bool collection = (null != ClientType.
Create
(binding.Source.GetType()).GetProperty(binding.SourceProperty, false).CollectionType);
2827
Version requestVersion = ClientType.
Create
(box.Entity.GetType()).EpmIsV1Compatible ? Util.DataServiceVersion1 : Util.DataServiceVersion2;
2854
Version requestVersion = ClientType.
Create
(box.Entity.GetType()).EpmIsV1Compatible ? Util.DataServiceVersion1 : Util.DataServiceVersion2;
2908
ClientType type = ClientType.
Create
(box.Entity.GetType());
3045
clientType = ClientType.
Create
(box.Entity.GetType());
3237
ClientType type = ClientType.
Create
(entity.GetType());
3339
ClientType nested = ClientType.
Create
(property.PropertyType);
3483
ClientType type = ClientType.
Create
(source.GetType());
3510
type = ClientType.
Create
(property.CollectionType ?? property.PropertyType);
3730
ClientType type = ClientType.
Create
(this.entity.GetType());
3854
ClientType clientType = ClientType.
Create
(nestedType);
4614
ClientType type = ClientType.
Create
(entityDescriptor.Entity.GetType());
5132
ClientType type = ClientType.
Create
(entityDescriptor.Entity.GetType());
System\Data\Services\Client\MaterializeFromAtom.cs (1)
549
ClientType result = ClientType.
Create
(resolvedType);