private void CopyContentFrom(Category sourceObject)
 {
     CategoryName = sourceObject.CategoryName;
 }
        public static Category CreateDemoDefault()
        {
            Category customDemo = null;
                    Category.CreateCustomDemo(ref customDemo);
                    if(customDemo != null)
                        return customDemo;
                    var result = new Category();
                    result.CategoryName = @"Category.CategoryName";

                    return result;
        }
partial         static void CreateCustomDemo(ref Category customDemoObject);
 public static Category CreateDefault()
 {
     var result = new Category();
             return result;
 }