Gets or sets the name of this object query.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
The name of the object query identifies the current object query in the sequence by name when constructing query builder methods. By default, the query name is it. This can be useful when referring to the current sequence in joins inside the M:System.Data.Objects.Query`1.Where(System.String,System.Data.Objects.ObjectParameter) method or in the SelectValue<TResultType> method. For more information, see Query Builder Methods.
When you set the ObjectQuery<T>, that value becomes the alias in successive methods.property of an
The value of theproperty must start with a letter and can contain letters, digits, and underscores.
Available since 3.5