/// <summary>
 /// Gets the entity set name for the given CLR type, assuming no MEST.
 /// </summary>
 /// <param name="dbContext"> The context to look in. </param>
 /// <param name="clrType"> The type to lookup. </param>
 /// <returns> The entity set name. </returns>
 protected static string GetEntitySetName(DbContext dbContext, Type clrType)
 {
     return(ModelHelpers.GetEntitySetName(dbContext, clrType));
 }
 /// <summary>
 /// Gets the entity set name for the given CLR type, assuming no MEST.
 /// </summary>
 /// <param name="objetContext"> The context to look in. </param>
 /// <param name="clrType"> The type to lookup. </param>
 /// <returns> The entity set name. </returns>
 protected static string GetEntitySetName(ObjectContext objetContext, Type clrType)
 {
     return(ModelHelpers.GetEntitySetName(objetContext, clrType));
 }
 public void IsInModel()
 {
     Assert.NotNull(ModelHelpers.GetEntitySetName(_context, typeof(TStructuralType)));
 }