예제 #1
0
        private DataAccess.Content GetHandler()
        {
            DataAccess.Content handler = null;
            var record = EntityInstance;

            if (record != null)
            {
                handler = new DataAccess.Content
                {
                    Record =
                    {
                        HierachyId   = record.HierachyId,
                        ContentValue = record.ContentValue,
                        Id           = record.Id,
                        Name         = record.Name
                    }
                };
            }
            return(handler);
        }
예제 #2
0
 public Content()
 {
     _handler       = new DataAccess.Content();
     EntityInstance = new ContentEntity();
 }