示例#1
0
        public void InterfaceToString_NameProvided()
        {
            var         name      = "name";
            IEntityName tableName = new EntityName(name);

            Assert.AreEqual($"[{name}]", tableName.ToString());
        }
示例#2
0
        public void InterfaceToString_SchemaAndNameProvided()
        {
            var        schema    = "schema";
            var        name      = "name";
            EntityName tableName = new EntityName(schema, name);

            Assert.AreEqual($"[{schema}].[{name}]", tableName.ToString());
        }