Ejemplo n.º 1
0
        public void no_tenant_id_column_when_not_conjoined_tenancy()
        {
            var mapping = DocumentMapping.For <ConfiguresItselfSpecifically>();
            var table   = new DocumentTable(mapping);

            table.HasColumn(TenantIdColumn.Name).ShouldBeFalse();
        }
        public void can_create_for_list()
        {
            var mapping = DocumentMapping.For <DupFieldAttTest>();
            var table   = new DocumentTable(mapping);

            table.HasColumn("list_tags").ShouldBeTrue();
        }