Example #1
0
        public void GetEdmType_Returns_EdmTypeInitializedByCtor()
        {
            IEdmEntityType _entityType = new EdmEntityType("NS", "Entity");
            var            edmObject   = new EdmDeltaType(_entityType, EdmDeltaEntityKind.Entry);

            Assert.Same(_entityType, edmObject.EntityType);
        }
Example #2
0
        public void GetEdmType_Returns_EdmTypeInitializedByCtor()
        {
            IEdmEntityType _entityType = new EdmEntityType("NS", "Entity");
            var edmObject = new EdmDeltaType(_entityType, EdmDeltaEntityKind.Entry);

            Assert.Same(_entityType, edmObject.EntityType);
        }
Example #3
0
 /// <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="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);
 }
Example #5
0
 /// <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);
 }
 /// <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);
 }