コード例 #1
0
        public void Single_complex_type_is_discovered_by_convention()
        {
            Database.SetInitializer<ContextWithSimpleComplexType>(null);

            using (var context = new ContextWithSimpleComplexType())
            {
                context.Assert<SimpleComplexType>().IsComplexType();
            }
        }
コード例 #2
0
        public void Single_complex_type_is_discovered_by_convention()
        {
            Database.SetInitializer <ContextWithSimpleComplexType>(null);

            using (var context = new ContextWithSimpleComplexType())
            {
                context.Assert <SimpleComplexType>().IsComplexType();
            }
        }