Esempio n. 1
0
        public IEnumerable <ComplexTypeInheritance_EntityGrandparent> GetStub()
        {
            highestChild = null;
            highestSum   = Int32.MinValue;

            ComplexTypeInheritance_EntityGrandparent[] stubs = new ComplexTypeInheritance_EntityGrandparent[]
            {
                new ComplexTypeInheritance_EntityGrandchild()
                {
                    ID    = 1,
                    Child = new ComplexInheritance_Child()
                    {
                        A1 = 1,
                        A2 = 2,
                        Z1 = 10,
                        Z2 = 20,
                    },
                }
            };

            return(stubs);
        }
        public IEnumerable<ComplexTypeInheritance_EntityGrandparent> GetStub()
        {
            highestChild = null;
            highestSum = Int32.MinValue;

            ComplexTypeInheritance_EntityGrandparent[] stubs = new ComplexTypeInheritance_EntityGrandparent[]
            {
                new ComplexTypeInheritance_EntityGrandchild()
                {
                    ID = 1,
                    Child = new ComplexInheritance_Child()
                    {
                        A1 = 1,
                        A2 = 2,
                        Z1 = 10,
                        Z2 = 20,
                    },
                }
            };

            return stubs;
        }