コード例 #1
0
        public int Search(XS_tableFieldRefType collectionItem_in)
        {
            for (int i = 0; i < this.cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_tableFieldRefType)this.cols_[i])
                                                #else
                        this.cols_[i]
                                                #endif
                        .ParamName.Equals(
                            collectionItem_in.ParamName,
                            StringComparison.CurrentCultureIgnoreCase
                            )
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
コード例 #2
0
 public void CopyFrom(XS_tableFieldRefType tableFieldRefType_in)
 {
     this.tablename_      = tableFieldRefType_in.tablename_;
     this.tablefieldname_ = tableFieldRefType_in.tablefieldname_;
     this.paramname_      = tableFieldRefType_in.paramname_;
 }
コード例 #3
0
		public void CopyFrom(XS_tableFieldRefType tableFieldRefType_in) {
			this.tablename_ = tableFieldRefType_in.tablename_;
			this.tablefieldname_ = tableFieldRefType_in.tablefieldname_;
			this.paramname_ = tableFieldRefType_in.paramname_;
		}
コード例 #4
0
		public int Search(XS_tableFieldRefType collectionItem_in) {
			for (int i = 0; i < this.cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_tableFieldRefType)this.cols_[i])
						#else
						this.cols_[i]
						#endif
							.ParamName.Equals(
								collectionItem_in.ParamName,
								StringComparison.CurrentCultureIgnoreCase
							)
					)
					
				) {
					return i;
				}
			}

			return -1;
		}