示例#1
0
        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);
        }
示例#2
0
 public void CopyFrom(XS_dbType dbType_in)
 {
     this.dbservertype_     = dbType_in.dbservertype_;
     this.generatesql_      = dbType_in.generatesql_;
     this.connectionstring_ = dbType_in.connectionstring_;
 }
示例#3
0
		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;
		}
示例#4
0
		public void CopyFrom(XS_dbType dbType_in) {
			this.dbservertype_ = dbType_in.dbservertype_;
			this.generatesql_ = dbType_in.generatesql_;
			this.connectionstring_ = dbType_in.connectionstring_;
		}