Exemple #1
0
 string[] IMyPropertyValueListProvider.GetPropertyValueList(string propname)
 {
     if (propname == "MyDataSource")
     {
         return(KlonsDataModule.GetAllDataSetNames());
     }
     else
     {
         return(null);
     }
 }
Exemple #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);
 }
Exemple #3
0
 public KlonsDataModule()
 {
     _KlonsDataModule = this;
 }