示例#1
0
        public void CopyFrom(XS_dbsType dbsType_in)
        {
            int _index = -1;

            namecase_defaultprovider_    = dbsType_in.namecase_defaultprovider_;
            description_defaultprovider_ = dbsType_in.description_defaultprovider_;
            dbcollection_.Clear();
            for (int d = 0; d < dbsType_in.dbcollection_.Count; d++)
            {
                dbcollection_.Add(
                    out _index,
                    new XS_dbType()
                    );
                dbcollection_[_index].CopyFrom(
                    dbsType_in.dbcollection_[d]
                    );
            }
        }
示例#2
0
		public void CopyFrom(XS_dbsType dbsType_in) {
			int _index = -1;

			namecase_defaultprovider_ = dbsType_in.namecase_defaultprovider_;
			description_defaultprovider_ = dbsType_in.description_defaultprovider_;
			dbcollection_.Clear();
			for (int d = 0; d < dbsType_in.dbcollection_.Count; d++) {
				dbcollection_.Add(
					out _index,
					new XS_dbType()
				);
				dbcollection_[_index].CopyFrom(
					dbsType_in.dbcollection_[d]
				);
			}
		}