You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@ -0,0 +1,40 @@
|
||||
//---------------------------------------------------------------------
|
||||
// <copyright file="EdmSchemaAttribute.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//
|
||||
// @owner [....]
|
||||
// @backupOwner [....]
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
namespace System.Data.Objects.DataClasses
|
||||
{
|
||||
/// <summary>
|
||||
/// Attribute for static types
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")]
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = true)]
|
||||
public sealed class EdmSchemaAttribute : System.Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructor for EdmSchemaAttribute
|
||||
/// </summary>
|
||||
public EdmSchemaAttribute()
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// Setting this parameter to a unique value for each model file in a Visual Basic
|
||||
/// assembly will prevent the following error:
|
||||
/// "'System.Data.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values."
|
||||
/// </summary>
|
||||
public EdmSchemaAttribute(string assemblyGuid)
|
||||
{
|
||||
if (null == assemblyGuid)
|
||||
{
|
||||
throw new System.ArgumentNullException("assemblyGuid");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user