Пример #1
0
        public void CopyFrom(XS_dbConnectionType dbConnectionType_in)
        {
            int _index = -1;

            configmode_            = dbConnectionType_in.configmode_;
            isdefault_             = dbConnectionType_in.isdefault_;
            generatesql_           = dbConnectionType_in.generatesql_;
            isindexed_andreadonly_ = dbConnectionType_in.isindexed_andreadonly_;
            connectionstring_      = dbConnectionType_in.connectionstring_;
        }
Пример #2
0
        public int Search(XS_dbConnectionType collectionItem_in)
        {
            for (int i = 0; i < cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_dbConnectionType)cols_[i])
                                                #else
                        cols_[i]
                                                #endif
                        .ConfigMode
                        ==
                        collectionItem_in.ConfigMode
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
Пример #3
0
		public void CopyFrom(XS_dbConnectionType dbConnectionType_in) {
			int _index = -1;

			configmode_ = dbConnectionType_in.configmode_;
			isdefault_ = dbConnectionType_in.isdefault_;
			generatesql_ = dbConnectionType_in.generatesql_;
			isindexed_andreadonly_ = dbConnectionType_in.isindexed_andreadonly_;
			connectionstring_ = dbConnectionType_in.connectionstring_;
		}
		public int Search(XS_dbConnectionType collectionItem_in) {
			for (int i = 0; i < cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_dbConnectionType)cols_[i])
						#else
						cols_[i]
						#endif
							.ConfigMode
						==
						collectionItem_in.ConfigMode
					)
					
				) {
					return i;
				}
			}

			return -1;
		}