示例#1
0
        internal void Insert(Tipodocumentos parent)
        {
            // if we're not dirty then don't update the database
            if (!this.IsDirty)
            {
                return;
            }

            try
            {
                parent.Session().Save(Base.Record);

                MarkOld();
            }
            catch (Exception ex)
            {
                iQExceptionHandler.TreatException(ex);
            }
        }