public int Search(XS_dbType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_dbType)this.cols_[i]) #else this.cols_[i] #endif .DBServerType.Equals( collectionItem_in.DBServerType, StringComparison.CurrentCulture ) ) ) { return(i); } } return(-1); }
public void CopyFrom(XS_dbType dbType_in) { this.dbservertype_ = dbType_in.dbservertype_; this.generatesql_ = dbType_in.generatesql_; this.connectionstring_ = dbType_in.connectionstring_; }
public int Search(XS_dbType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_dbType)this.cols_[i]) #else this.cols_[i] #endif .DBServerType.Equals( collectionItem_in.DBServerType, StringComparison.CurrentCulture ) ) ) { return i; } } return -1; }