Пример #1
0
		//public SC_Language Serialize() {
		//	return new SC_Language(Record);
		//}
		#endregion
		#region public SC_Language Serialize();
		public SC_Language Serialize() {
			SO_Language[] _serialisableobject;

			lock (record__) {
				int _current = Current;

				_serialisableobject = new SO_Language[Count];

				Reset();
				while (Read()) {
					_serialisableobject[Current] 
						= new SO_Language(
							parent_ref_.fields_.IDLanguage,
							parent_ref_.fields_.IDWord_name
						);
				}

				Current = _current;
			}

			SC_Language _serialize_out = new SC_Language();
			_serialize_out.SO_Language = _serialisableobject;
			return _serialize_out;
		}
Пример #2
0
		void clrObject() {
			fields_ = new SO_Language();
		}
Пример #3
0
		public void Deserialize(SO_Language Language_in) {
			mainAggregate.Fields = Language_in;
		}
Пример #4
0
		public void Open(SO_Language[] serialisableobject_in) {
			DataTable _datatable = new DataTable();
			_datatable.Columns.Add(new DataColumn("codProfissao", typeof(int)));
			_datatable.Columns.Add(new DataColumn("descProfissao", typeof(string)));

			DataRow _datarow;
			for (int i = 0; i < serialisableobject_in.Length; i++) {
				_datarow = _datatable.NewRow();
				_datarow["IDLanguage"] = serialisableobject_in[i].IDLanguage;
				_datarow["IDWord_name"] = serialisableobject_in[i].IDWord_name;

				_datatable.Rows.Add(_datarow);
			}

			Open(_datatable);
		}