示例#1
0
        public int Search(XS_tableUpdateType collectionItem_in)
        {
            for (int i = 0; i < this.cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_tableUpdateType)this.cols_[i])
                                                #else
                        this.cols_[i]
                                                #endif
                        .Name.Equals(
                            collectionItem_in.Name,
                            StringComparison.CurrentCulture
                            )
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
示例#2
0
 public void CopyFrom(XS_tableUpdateType tableUpdateType_in)
 {
     this.name_ = tableUpdateType_in.name_;
     if (tableUpdateType_in.tableupdateparameters__ != null)
     {
         this.tableupdateparameters__.CopyFrom(tableUpdateType_in.tableupdateparameters__);
     }
 }
示例#3
0
		public void CopyFrom(XS_tableUpdateType tableUpdateType_in) {
			this.name_ = tableUpdateType_in.name_;
			if (tableUpdateType_in.tableupdateparameters__ != null) this.tableupdateparameters__.CopyFrom(tableUpdateType_in.tableupdateparameters__);
		}
		public int Search(XS_tableUpdateType collectionItem_in) {
			for (int i = 0; i < this.cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_tableUpdateType)this.cols_[i])
						#else
						this.cols_[i]
						#endif
							.Name.Equals(
								collectionItem_in.Name,
								StringComparison.CurrentCulture
							)
					)
					
				) {
					return i;
				}
			}

			return -1;
		}