Files
linux-packaging-mono/external/entityframework/src/EntityFramework/Infrastructure/SuppressDbSetInitializationAttribute.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

16 lines
818 B
C#

// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Infrastructure
{
/// <summary>
/// This attribute can be applied to either an entire derived <see cref="DbContext" /> class or to
/// individual <see cref="DbSet{T}" /> or <see cref="IDbSet{T}" /> properties on that class. When applied
/// any discovered <see cref="DbSet{T}" /> or <see cref="IDbSet{T}" /> properties will still be included
/// in the model but will not be automatically initialized.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class, AllowMultiple = false)]
public sealed class SuppressDbSetInitializationAttribute : Attribute
{
}
}