Exemplo n.º 1
0
 /// <summary>
 /// Gets the properties of the class.
 /// </summary>
 /// <typeparam name="TEntity">The target type.</typeparam>
 /// <returns>The properties of the class.</returns>
 public static IEnumerable <ClassProperty> GetProperties <TEntity>()
     where TEntity : class
 {
     return(GetPropertiesCache <TEntity> .Do());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the properties of the class.
 /// </summary>
 /// <typeparam name="TEntity">The target type.</typeparam>
 /// <param name="dbSetting">The database setting that is currently in used.</param>
 /// <returns>The properties of the class.</returns>
 public static IEnumerable <ClassProperty> GetProperties <TEntity>(IDbSetting dbSetting)
     where TEntity : class
 {
     return(GetPropertiesCache <TEntity> .Do(dbSetting));
 }