語言

FromSqlExpression.CreateWithAnnotations 方法

定義

建立一個像這樣的物件,並附上指定的註解。

protected override Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase CreateWithAnnotations(System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
override this.CreateWithAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
Protected Overrides Function CreateWithAnnotations (annotations As IEnumerable(Of IAnnotation)) As TableExpressionBase

參數

annotations
IEnumerable<IAnnotation>

要套用的註解。

傳回

新表達式附有已知註解。

適用於