// Returns the base types, this type. public static IEnumerable<StructuralTypeConfiguration> ThisAndBaseTypes( this StructuralTypeConfiguration structuralType) { Contract.Assert(structuralType != null); return structuralType.BaseTypes().Concat(new[] { structuralType }); }
// Returns the base types, this type. public static IEnumerable<IEntityTypeConfiguration> ThisAndBaseTypes(this IEntityTypeConfiguration entity) { Contract.Assert(entity != null); return entity.BaseTypes().Concat(new[] { entity }); }