public void IsComplexType()
 {
     Assert.NotNull(
         ModelHelpers.GetStructuralType <ComplexType>(
             TestBase.GetObjectContext(_context),
             typeof(TStructuralType)));
 }
 /// <summary>
 /// Gets the EntityType of the given CLR type
 /// </summary>
 /// <param name="objectContext"> The context to look in. </param>
 /// <param name="clrType"> The CLR type </param>
 /// <returns> The entity type corresponding to the CLR type </returns>
 protected static EntityType GetEntityType(ObjectContext objectContext, Type clrType)
 {
     return(ModelHelpers.GetStructuralType <EntityType>(objectContext, clrType));
 }