Share via


EntitySetBase.Name Property

Definition

Gets or sets the name of the current entity or relationship set. If this property is changed from store-space, the mapping layer must also be updated to reflect the new name. To change the table name of a store space EntitySet use the Table property.

public virtual string Name { get; set; }
member this.Name : string with get, set
Public Overridable Property Name As String

Property Value

The name of the current entity or relationship set.

Exceptions

Thrown if the setter is called when EntitySetBase instance is in ReadOnly state

Applies to