示例#1
0
        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);
        }
示例#2
0
 public Hierarchy()
 {
     _handler       = new DataAccess.Hierarchy();
     EntityInstance = new HierarchyEntity();
 }