Exemple #1
0
 public static void SetPropertyPersianTitle <T>(
     Expression <Func <T, object> > propertySelector,
     string title)
     where T : class
 {
     propertySelector.Guard("propertySelector cannot be null");
     EntityConfigManager.SetPropertyPersianTitle(typeof(T), propertySelector.GetPropertyInfo <T>().Name, title);
 }
Exemple #2
0
 public static string GetPersianTitle <T>() where T : class
 {
     return(EntityConfigManager.GetPersianTitle(typeof(T)));
 }
Exemple #3
0
 public static void SetPersianTitle <T>(string persianTitle) where T : class
 {
     EntityConfigManager.SetPersianTitle(typeof(T), persianTitle);
 }