예제 #1
0
 /// <summary>
 /// Delete registers based on class values informed. MinValues and nulls are skipped.
 /// Must have "MultipleActiveResultSets=True" on connection string.
 /// </summary>
 /// <param name="parTagInfo">Item to delete</param>
 /// <param name="transaction">Transaction context</param>
 /// <param name="errorMessage">Error message</param>
 public virtual void Delete(TagInfo parTagInfo, DbTransaction transaction, out string errorMessage)
 {
     errorMessage = string.Empty;
     TagDAO.Delete(parTagInfo, transaction, out errorMessage);
     //By default, the caller of this method will do the commit.
     //motor.Commit();
     //motor.CloseConnection();
 }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="_tagGuid"></param>
        public void DeleteTag(Guid _tagGuid)
        {
            TagDAO dao = new TagDAO(MongoDB);

            dao.Delete(_tagGuid);
        }
예제 #3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="_tag"></param>
        public void DeleteTag(Tag _tag)
        {
            TagDAO dao = new TagDAO(MongoDB);

            dao.Delete(_tag);
        }