/// <summary>
 /// Gets all the database model foreign key properties specified by the given ClrType.
 /// </summary>
 /// <param name="type">The ClrType to get the foreign key properties from.</param>
 /// <returns>
 /// A IEnumerable of IProperty where the IProperty is a foreign key.
 /// </returns>
 public IEnumerable <IProperty> GetForeignKeyPropertiesByClrType(Type type)
 {
     return(EntitiesRepo.GetForeignKeyPropertiesByClrType(type));
 }