public void It_ignores_non_ats_contexts()
 {
     var model = new NoAtsContext().Model;
     Assert.False(model.EntityTypes.Any(e => e.TryGetProperty("ETag") != null));
     Assert.False(model.EntityTypes.Any(e => e.TryGetPropertyByColumnName("PartitionKey") != null));
     Assert.False(model.EntityTypes.Any(e => e.TryGetPropertyByColumnName("RowKey") != null));
 }
Пример #2
0
        public void It_ignores_non_ats_contexts()
        {
            var model = new NoAtsContext().Model;

            Assert.False(model.EntityTypes.Any(e => e.TryGetProperty("ETag") != null));
            Assert.False(model.EntityTypes.Any(e => e.TryGetPropertyByColumnName("PartitionKey") != null));
            Assert.False(model.EntityTypes.Any(e => e.TryGetPropertyByColumnName("RowKey") != null));
        }