共用方式為


RuntimeModel Constructors

Definition

Overloads

RuntimeModel()
Obsolete.

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

RuntimeModel(Boolean, Guid, Int32, Int32)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

RuntimeModel()

Source:
RuntimeModel.cs
Source:
RuntimeModel.cs
Source:
RuntimeModel.cs
Source:
RuntimeModel.cs

Caution

Use a constructor with parameters

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public RuntimeModel ();
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
[System.Obsolete("Use a constructor with parameters")]
public RuntimeModel ();
Public Sub New ()
Attributes

Applies to

RuntimeModel(Boolean, Guid, Int32, Int32)

Source:
RuntimeModel.cs

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeModel (bool skipDetectChanges, Guid modelId, int entityTypeCount, int typeConfigurationCount = 0);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeModel : bool * Guid * int * int -> Microsoft.EntityFrameworkCore.Metadata.RuntimeModel
Public Sub New (skipDetectChanges As Boolean, modelId As Guid, entityTypeCount As Integer, Optional typeConfigurationCount As Integer = 0)

Parameters

skipDetectChanges
Boolean
modelId
Guid
entityTypeCount
Int32
typeConfigurationCount
Int32
Attributes

Applies to