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