示例#1
0
        public void inserted_id()
        {
            var sql = @"inserted.id";

            var scanner = new TSqlScanner(sql);
            var parser  = new TSqlParser(scanner);
            var expr    = parser.ParseMeetObjectId();

            new ObjectIdSqlCodeExpr()
            {
                RemoteServer = string.Empty,
                DatabaseName = string.Empty,
                SchemaName   = "inserted",
                ObjectName   = "id"
            }.ToExpectedObject().ShouldEqual(expr);
        }