public int Search(XS_tableSearchType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_tableSearchType)this.cols_[i]) #else this.cols_[i] #endif .Name.Equals( collectionItem_in.Name, StringComparison.CurrentCulture ) ) ) { return(i); } } return(-1); }
public void CopyFrom(XS_tableSearchType tableSearchType_in) { this.name_ = tableSearchType_in.name_; this.isrange_ = tableSearchType_in.isrange_; this.isexplicituniqueindex_ = tableSearchType_in.isexplicituniqueindex_; if (tableSearchType_in.tablesearchparameters__ != null) { this.tablesearchparameters__.CopyFrom(tableSearchType_in.tablesearchparameters__); } if (tableSearchType_in.tablesearchupdates__ != null) { this.tablesearchupdates__.CopyFrom(tableSearchType_in.tablesearchupdates__); } }
public int Search(XS_tableSearchType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_tableSearchType)this.cols_[i]) #else this.cols_[i] #endif .Name.Equals( collectionItem_in.Name, StringComparison.CurrentCulture ) ) ) { return i; } } return -1; }
public void CopyFrom(XS_tableSearchType tableSearchType_in) { this.name_ = tableSearchType_in.name_; this.isrange_ = tableSearchType_in.isrange_; this.isexplicituniqueindex_ = tableSearchType_in.isexplicituniqueindex_; if (tableSearchType_in.tablesearchparameters__ != null) this.tablesearchparameters__.CopyFrom(tableSearchType_in.tablesearchparameters__); if (tableSearchType_in.tablesearchupdates__ != null) this.tablesearchupdates__.CopyFrom(tableSearchType_in.tablesearchupdates__); }