DatabaseGeneratedAttribute(DatabaseGeneratedOption) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DatabaseGeneratedAttribute class.
public:
DatabaseGeneratedAttribute(System::ComponentModel::DataAnnotations::Schema::DatabaseGeneratedOption databaseGeneratedOption);
public DatabaseGeneratedAttribute (System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption databaseGeneratedOption);
new System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute : System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption -> System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute
Public Sub New (databaseGeneratedOption As DatabaseGeneratedOption)
Parameters
- databaseGeneratedOption
- DatabaseGeneratedOption
The database generated option.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.