DatabaseGeneratedAttribute Klasa

Definicja

Określa sposób generowania wartości dla właściwości przez bazę danych.

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple=false)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes")]
public class DatabaseGeneratedAttribute : Attribute
type DatabaseGeneratedAttribute = class
    inherit Attribute
Public Class DatabaseGeneratedAttribute
Inherits Attribute
Dziedziczenie
DatabaseGeneratedAttribute
Atrybuty

Konstruktory

DatabaseGeneratedAttribute(DatabaseGeneratedOption)

Inicjuje nowe wystąpienie klasy DatabaseGeneratedAttribute.

Właściwości

DatabaseGeneratedOption

Wzorzec używany do generowania wartości właściwości w bazie danych.

Dotyczy