Ejemplo n.º 1
0
        public void CopyFrom(XS_tableSearchType tableSearchType_in)
        {
            int _index = -1;

            name_    = tableSearchType_in.name_;
            isrange_ = tableSearchType_in.isrange_;
            isexplicituniqueindex_ = tableSearchType_in.isexplicituniqueindex_;
            if (tableSearchType_in.tablesearchparameters__ != null)
            {
                tablesearchparameters__.CopyFrom(tableSearchType_in.tablesearchparameters__);
            }
            if (tableSearchType_in.tablesearchupdates__ != null)
            {
                tablesearchupdates__.CopyFrom(tableSearchType_in.tablesearchupdates__);
            }
        }
Ejemplo n.º 2
0
        public int Search(XS_tableSearchType collectionItem_in)
        {
            for (int i = 0; i < cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_tableSearchType)cols_[i])
                                                #else
                        cols_[i]
                                                #endif
                        .Name
                        ==
                        collectionItem_in.Name
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
Ejemplo n.º 3
0
		public int Search(XS_tableSearchType collectionItem_in) {
			for (int i = 0; i < cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_tableSearchType)cols_[i])
						#else
						cols_[i]
						#endif
							.Name
						==
						collectionItem_in.Name
					)
					
				) {
					return i;
				}
			}

			return -1;
		}
Ejemplo n.º 4
0
		public void CopyFrom(XS_tableSearchType tableSearchType_in) {
			int _index = -1;

			name_ = tableSearchType_in.name_;
			isrange_ = tableSearchType_in.isrange_;
			isexplicituniqueindex_ = tableSearchType_in.isexplicituniqueindex_;
			if (tableSearchType_in.tablesearchparameters__ != null) tablesearchparameters__.CopyFrom(tableSearchType_in.tablesearchparameters__);
			if (tableSearchType_in.tablesearchupdates__ != null) tablesearchupdates__.CopyFrom(tableSearchType_in.tablesearchupdates__);
		}