示例#1
0
        protected override void AppendTo(SqlStringBuilder builder)
        {
            FullName.AppendTo(builder);

            builder.Append("(");

            for (int i = 0; i < MemberCount; i++)
            {
                var member = TypeInfo.MemberAt(i);

                builder.Append(member.MemberName);
                builder.Append(" ");
                member.MemberType.AppendTo(builder);

                if (i < MemberCount - 1)
                {
                    builder.Append(", ");
                }
            }

            builder.Append(")");
        }
示例#2
0
 protected override void AppendTo(SqlStringBuilder builder)
 {
     ObjectName.AppendTo(builder);
     builder.Append("%ROWTYPE");
 }