Exemple #1
0
 public Field(string name       = "", string cssClass       = "", enumFieldType type = enumFieldType.Default,
              string fixedValue = "", string linkActionGrid = "", string linkControllerGrid = "", string width = "6", bool ativo = true)
 {
     Name               = name;
     CssClass           = cssClass;
     Type               = type;
     FixedValue         = fixedValue;
     LinkActionGrid     = linkActionGrid;
     LinkControllerGrid = linkControllerGrid;
     Active             = ativo;
     Width              = width;
 }
Exemple #2
0
 private static string GetTypeKey(enumFieldType fType)
 {
     return(Environment.NhibernateHelper.GetObject <string>(
                string.Format("select cfgItem.ItemValue from ConfigItem cfgItem where cfgItem.ItemKey='{0}'", m_TypeItemKey[(int)fType])));
 }
Exemple #3
0
 private static string GetTypeKey(enumFieldType fType)
 {
     return Environment.NhibernateHelper.GetObject<string>(
         string.Format("select cfgItem.ItemValue from ConfigItem cfgItem where cfgItem.ItemKey='{0}'",m_TypeItemKey[(int)fType]));
 }