public void ConstructorSetsName() { var columnName = "ObjectID"; var columnAttribute = new ColumnAttribute(columnName); Assert.Equal(columnName, columnAttribute.Name); }
public void ConstructorSetsAllowUpdate() { var columnAttribute = new ColumnAttribute("Foo", allowInsert: false, allowUpdate: true); Assert.True(columnAttribute.AllowUpdate); }