Exemplo n.º 1
0
        /// <summary>
        /// remove record
        /// </summary>
        /// <param name="useFirstRecord"></param>
        /// <returns></returns>
        internal IRecord GetRecord(bool useFirstRecord)
        {
            IRecord record;

            if (useFirstRecord)
            {
                record = Dataview.getRecByIdx(0);
                DataviewManager.ClientIdGenerator.GenerateId();
            }
            else
            {
                record = CreateRecord();
                InsertRecord(record);
            }
            return(record);
        }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 internal IRecord GetFirstRecord()
 {
     return(Dataview.getRecByIdx(0));
 }