Пример #1
0
		public void UT_SetGetDelSequence() {
			DO_vUserDefaultGroup _vuserdefaultgroup;
			try {
				_vuserdefaultgroup = new DO_vUserDefaultGroup();
			} catch (Exception e) {
				Assert.IsTrue(false, "some error trying to instantiate DO_vUserDefaultGroup\n---\n{0}\n---", e.Message);
				return; // no need...
			}
			_vuserdefaultgroup.Connection.Open();
			_vuserdefaultgroup.Connection.Transaction.Begin();



			_vuserdefaultgroup.Fields.IDUser = 123L;
			_vuserdefaultgroup.Fields.Login = "******";
			_vuserdefaultgroup.Fields.IDGroup = 123L;
			_vuserdefaultgroup.Fields.Name = "123";
			_vuserdefaultgroup.Fields.Relationdate = new DateTime(2341, 12, 12);
			// setObject(); // ToDos: here!



			_vuserdefaultgroup.Connection.Transaction.Rollback();
			_vuserdefaultgroup.Connection.Transaction.Terminate();
			_vuserdefaultgroup.Connection.Close();
			_vuserdefaultgroup.Dispose(); _vuserdefaultgroup = null;
		}