DbExpressionBuilder.Parameter(TypeUsage, String) Method
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.
Creates a new DbParameterReferenceExpression that references a parameter with the specified name and type.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbParameterReferenceExpression ^ Parameter(System::Data::Metadata::Edm::TypeUsage ^ type, System::String ^ name);
public static System.Data.Common.CommandTrees.DbParameterReferenceExpression Parameter (this System.Data.Metadata.Edm.TypeUsage type, string name);
static member Parameter : System.Data.Metadata.Edm.TypeUsage * string -> System.Data.Common.CommandTrees.DbParameterReferenceExpression
<Extension()>
Public Function Parameter (type As TypeUsage, name As String) As DbParameterReferenceExpression
Parameters
- type
- TypeUsage
The type of the referenced parameter.
- name
- String
The name of the referenced parameter.
Returns
A DbParameterReferenceExpression that represents a reference to a parameter with the specified name and type. The result type of the expression will be the same as type
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור