private DataAccess.Hierarchy GetHandler() { DataAccess.Hierarchy handler = null; var record = EntityInstance; if (record != null) { handler = new DataAccess.Hierarchy { Record = { Parent = record.Parent, Id = record.Id, Name = record.Name } }; } return(handler); }
public Hierarchy() { _handler = new DataAccess.Hierarchy(); EntityInstance = new HierarchyEntity(); }