コード例 #1
0
 public void NUnit_Contract_Domain_GetById()
 {
     Cat_OrgStructureServices service = new Cat_OrgStructureServices();
     var model = new Cat_OrgStructure { Id = 3 };
     var result = service.GetByIdCatOrgStructure(model.Id) as Cat_OrgStructure;
     NUnit.Framework.Assert.IsNotNull(result);
     Console.Write("SearchResult: " + result.Id
         + " | " + result.OrgStructureName
         + " | " + result.Code
         + " | " + result.IsRoot
         + " | " + result.Description
         + " | " + result.TypeID
         + " | " + result.ParentID
         + " | " + result.OrderNumber
         );
 }