Пример #1
0
 string[] IMyPropertyValueListProvider.GetPropertyValueList(string propname)
 {
     if (propname == "MyDataSource")
     {
         return(KlonsDataModule.GetAllDataSetNames());
     }
     else
     {
         return(null);
     }
 }
Пример #2
0
 string[] IMyPropertyValueListProvider.GetPropertyValueList(string propname)
 {
     if (propname == "MyDataSource")
     {
         return(KlonsDataModule.GetAllDataSetNames());
     }
     if (propname.StartsWith("Table") || !string.IsNullOrEmpty(MyDataSource))
     {
         return(KlonsDataModule.St.GetTableNames(MyDataSource));
     }
     return(null);
 }
Пример #3
0
 public KlonsDataModule()
 {
     _KlonsDataModule = this;
 }