Infrastructure/DbUpdateConcurrencyException.cs

ef6 · src/EntityFramework/Infrastructure/DbUpdateConcurrencyException.cs · csharp · MIT
database

Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.

// Source: https://github.com/dotnet/ef6 | License: MIT | Copyright .NET Foundation and Contributors
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.

namespace System.Data.Entity.Infrastructure
{
    using System.Data.Entity.Core;
    using System.Data.Entity.Internal;
    using System.Diagnostics.CodeAnalysis;
    using System.Runtime.Serialization;

    /// <summary>
    /// Exception thrown by <see cref="DbContext" /> when it was expected that SaveChanges for an entity would
    /// result in a database update but in fact no rows in the database were affected.  This usually indicates
    /// that the database has been concurrently updated 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key