Beispiel #1
0
 public static CountryNVL GetNameValueList()
 {
     if (_list == null)
     {
         _list = DataPortal.Fetch <CountryNVL>();
     }
     return(_list);
 }
Beispiel #2
0
        public Form1()
        {
            InitializeComponent();

            var root = Root.NewEditableRoot();

            statesNVLBindingSource.DataSource  = StatesNVL.GetNameValueList();
            countryNVLBindingSource.DataSource = CountryNVL.GetNameValueList();
            rootBindingSource.DataSource       = root;
        }
Beispiel #3
0
 public static void InvalidateCache()
 {
     _list = null;
 }