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