public void GetEdmType_Returns_EdmTypeInitializedByCtor() { IEdmEntityType _entityType = new EdmEntityType("NS", "Entity"); var edmObject = new EdmDeltaType(_entityType, EdmDeltaEntityKind.Entry); Assert.Same(_entityType, edmObject.EntityType); }
/// <summary> /// Initializes a new instance of the <see cref="EdmDeltaEntityObject"/> class. /// </summary> /// <param name="entityType">The <see cref="IEdmEntityType"/> of this DeltaEntityObject.</param> /// <param name="isNullable">true if this object can be nullable; otherwise, false.</param> public EdmDeltaEntityObject(IEdmEntityType entityType, bool isNullable) : base(entityType, isNullable) { _edmType = new EdmDeltaType(entityType, EdmDeltaEntityKind.Entry); }
/// <summary> /// Initializes a new instance of the <see cref="EdmDeltaDeletedLink"/> class. /// </summary> /// <param name="entityType">The <see cref="IEdmEntityType"/> of this DeltaDeletedLink.</param> /// <param name="isNullable">true if this object can be nullable; otherwise, false.</param> public EdmDeltaDeletedLink(IEdmEntityType entityType, bool isNullable) : base(entityType, isNullable) { _edmType = new EdmDeltaType(entityType, EdmDeltaEntityKind.DeletedLinkEntry); }