protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior)
            {
                var reader = new DataEntityDataReader <PropertyHandlerQueryTestClass>(new[]
                {
                    new PropertyHandlerQueryTestClass {
                        Id = 1, Name = "John Doe"
                    }
                });

                reader.Initialize();
                return(reader);
            }
예제 #2
0
            protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior)
            {
                var reader = new DataEntityDataReader <ClassHandlerTestClass>(new[]
                {
                    new ClassHandlerTestClass {
                        Id = 1, Name = "James Doe"
                    }
                });

                reader.Initialize();
                return(reader);
            }