Esempio n. 1
0
        public void Fluent_id_field()
        {
            IField f;
            var subject = new Subject()
                .FieldId(f = new Field("column1", typeof(string)));

            Assert.AreSame(f, subject.IdField);
        }
Esempio n. 2
0
        public void Fluent_default_field()
        {
            IField f;
            var subject = new Subject()
                .FieldDefault(f = new Field("column1", typeof(string)));

            Assert.AreSame(f, subject.DefaultField);
        }