コード例 #1
0
        /// <summary>
        /// 新建表格记录
        /// </summary>
        /// <returns></returns>
        public override RecData NewRecord()
        {
            QdxmRec rec = new QdxmRec();

            FormRec(rec);
            return(rec);
        }
コード例 #2
0
        /// <summary>
        /// 复制数据对象
        /// </summary>
        /// <param name="sou">源对象,需从DataPacket继承</param>
        public override void AssignFrom(DataPacket sou)
        {
            base.AssignFrom(sou);
            QdxmRec s = sou as QdxmRec;

            if (s != null)
            {
                _qdtype = s._qdtype;
            }
        }