46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
//
|
|
// Class: LookupNameAttribute
|
|
// Current CLR: 4.0.30319.42000
|
|
// System: Microsoft Visual Studio 10.0
|
|
// Author: dani
|
|
// Created: 1/9/2016 9:34:19 AM
|
|
//
|
|
// Copyright (c) 2016 Informatikbüro Daniel Schick. All rights reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace bsmd.database
|
|
{
|
|
/// <summary>
|
|
/// Marker, der den Lookup-String (NAME) beim Einlesen aus Excel liefert
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
public class LookupNameAttribute : Attribute
|
|
{
|
|
private string _lookupName;
|
|
|
|
public LookupNameAttribute(string lookupName)
|
|
{
|
|
_lookupName = lookupName;
|
|
}
|
|
|
|
public string LookupName
|
|
{
|
|
get { return this._lookupName; }
|
|
set { this._lookupName = value; }
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Dieser Marker zeigt an, dass das Property aus mehreren Excel-Feldern (Date + Time)
|
|
/// zusammengesetzt wird
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
public class SpecialLookupAttribute : Attribute
|
|
{
|
|
public SpecialLookupAttribute() { }
|
|
}
|
|
|
|
}
|