示例#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);
 }
示例#2
0
 public static string GetPersianTitle <T>() where T : class
 {
     return(EntityConfigManager.GetPersianTitle(typeof(T)));
 }
示例#3
0
 public static void SetPersianTitle <T>(string persianTitle) where T : class
 {
     EntityConfigManager.SetPersianTitle(typeof(T), persianTitle);
 }