コード例 #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (this.DisposeContext && disposing && this.db_context != null)
            {
                this.db_context.Dispose();
            }

            this.db_context = null;
        }
コード例 #2
0
 public SQLMembershipUserStore(HBTI_EF db_context, string loweredApplicationName)
 {
     this.db_context             = db_context;
     this.loweredApplicationName = loweredApplicationName;
     this.DisposeContext         = true;
 }