public void CopyFrom(XS_dbType dbType_in) { int _index = -1; dbservertype_ = dbType_in.dbservertype_; if (dbType_in.dbconnections__ != null) { dbconnections__.CopyFrom(dbType_in.dbconnections__); } }
public int Search(XS_dbType collectionItem_in) { for (int i = 0; i < cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_dbType)cols_[i]) #else cols_[i] #endif .DBServerType == collectionItem_in.DBServerType ) ) { return(i); } } return(-1); }