コード例 #1
0
        /// <summary>
        /// The dispose.
        /// </summary>
        /// <param name="disposing">
        /// The disposing.
        /// </param>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                db.Dispose();
            }

            base.Dispose(disposing);
        }
コード例 #2
0
 /// <summary>
 /// The dispose.
 /// </summary>
 public void Dispose()
 {
     db.Dispose();
 }