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,42 @@
|
||||
//---------------------------------------------------------------------
|
||||
// <copyright file="EntityViewGenerationAttribute.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//
|
||||
// @owner [....]
|
||||
// @backupOwner [....]
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
namespace System.Data.Mapping
|
||||
{
|
||||
/// <summary>
|
||||
/// Attribute to mark the assemblies that contain the generated views type.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
|
||||
public sealed class EntityViewGenerationAttribute : System.Attribute
|
||||
{
|
||||
#region Constructors
|
||||
/// <summary>
|
||||
/// Constructor for EntityViewGenerationAttribute
|
||||
/// </summary>
|
||||
public EntityViewGenerationAttribute(Type viewGenerationType)
|
||||
{
|
||||
EntityUtil.CheckArgumentNull<Type>(viewGenerationType, "viewGenType");
|
||||
m_viewGenType = viewGenerationType;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Fields
|
||||
private Type m_viewGenType;
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
public Type ViewGenerationType
|
||||
{
|
||||
get { return m_viewGenType; }
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user