9using System.Collections.Generic;
13using Microsoft.VisualStudio.TestTools.UnitTesting;
17using TestClass = NUnit.Framework.TestFixtureAttribute;
18using TestInitialize = NUnit.Framework.SetUpAttribute;
19using TestCleanup = NUnit.Framework.TearDownAttribute;
20using TestMethod = NUnit.Framework.TestAttribute;
32 list.Add(
new Item1());
33 list.Add(
new Item2());
35 Assert.IsTrue(list[0] is
Item1,
"First element should be Item1");
36 Assert.IsTrue(list[1] is
Item2,
"Second element should be Item2");
40 public interface IItem :
Csla.Core.IEditableBusinessObject
This is the base class from which most business objects will be derived.
This is the base class from which most business collections or lists will be derived.
override object GetIdValue()
Override this method to return a unique identifying value for this object.
override object GetIdValue()
Override this method to return a unique identifying value for this object.
@ Serializable
Prevents updating or inserting until the transaction is complete.