/// <summary>
 /// Gets all the database model foreign keys specified by the given ClrType.
 /// </summary>
 /// <param name="type">The ClrType to get the foreign keys from.</param>
 /// <returns>
 /// A IEnumerable of IForeignKey.
 /// </returns>
 public IEnumerable <IForeignKey> GetForeignKeysByClrType(Type type)
 {
     return(EntitiesRepo.GetForeignKeysByClrType(type));
 }