public void ConstructorSetsName() { var name = "Customers"; var tableAttribute = new TableAttribute(name); Assert.Equal(name, tableAttribute.Name); Assert.Null(tableAttribute.Schema); }
public void ConstructorSetsSchemaAndName() { var schema = "dbo"; var name = "Customers"; var tableAttribute = new TableAttribute(schema, name); Assert.Equal(name, tableAttribute.Name); Assert.Equal(schema, tableAttribute.Schema); }