Ejemplo n.º 1
0
        /// <summary>
        /// Delete the current MemberType.
        ///
        /// Deletes all Members of the type
        ///
        /// Use with care
        /// </summary>
        new public void delete()
        {
            // delete all documents of this type
            Member.DeleteFromType(this);
            // delete membertype specific data
            Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(_ConnString, CommandType.Text, "Delete from cmsMemberType where nodeId = " + this.Id);

            // Delete contentType
            base.delete();
        }