Пример #1
0
 public SOURCEBINDING addSource(object src)
 {
     SOURCEBINDING srcObj = new SOURCEBINDING();
     //if(src.GetType() == typeof(string)) {
     //    src = this.getDatabaseObject().GetTableCache().getCachedTable((string)src);
     //}
     srcObj.sourceObject = src;
     this._sourceObjects.Add(srcObj);
     return srcObj;
 }
Пример #2
0
 public SOURCEBINDING addSource(object src, ABSTRACTSOURCEBINDTYPES bindType, object bindSrc, object srcMatchField, object dstMatchField)
 {
     SOURCEBINDING srcObj = new SOURCEBINDING();
     srcObj.sourceObject = src;
     srcObj.bindType = bindType;
     srcObj.boundSource = bindSrc;
     srcObj.srcMatchField = srcMatchField;
     srcObj.dstMatchField = dstMatchField;
     this._sourceObjects.Add(srcObj);
     return srcObj;
 }