RelationalGeometryTypeMapping<TGeometry,TProvider>.CreateParameter Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CreateParameter(DbCommand, String, Object, Nullable<Boolean>) |
Crée un DbParameter avec les informations de type appropriées configurées. |
CreateParameter(DbCommand, String, Object, Nullable<Boolean>, ParameterDirection) |
Crée un DbParameter avec les informations de type appropriées configurées. |
CreateParameter(DbCommand, String, Object, Nullable<Boolean>)
Crée un DbParameter avec les informations de type appropriées configurées.
public override System.Data.Common.DbParameter CreateParameter (System.Data.Common.DbCommand command, string name, object value, bool? nullable = default);
public override System.Data.Common.DbParameter CreateParameter (System.Data.Common.DbCommand command, string name, object? value, bool? nullable = default);
override this.CreateParameter : System.Data.Common.DbCommand * string * obj * Nullable<bool> -> System.Data.Common.DbParameter
Public Overrides Function CreateParameter (command As DbCommand, name As String, value As Object, Optional nullable As Nullable(Of Boolean) = Nothing) As DbParameter
Paramètres
- command
- DbCommand
Commande sur laquelle le paramètre doit être créé.
- name
- String
Le nom du paramètre.
- value
- Object
Valeur à assigner au paramètre.
Retours
Paramètre nouvellement créé.
S’applique à
CreateParameter(DbCommand, String, Object, Nullable<Boolean>, ParameterDirection)
Crée un DbParameter avec les informations de type appropriées configurées.
public override System.Data.Common.DbParameter CreateParameter (System.Data.Common.DbCommand command, string name, object? value, bool? nullable = default, System.Data.ParameterDirection direction = System.Data.ParameterDirection.Input);
override this.CreateParameter : System.Data.Common.DbCommand * string * obj * Nullable<bool> * System.Data.ParameterDirection -> System.Data.Common.DbParameter
Public Overrides Function CreateParameter (command As DbCommand, name As String, value As Object, Optional nullable As Nullable(Of Boolean) = Nothing, Optional direction As ParameterDirection = System.Data.ParameterDirection.Input) As DbParameter
Paramètres
- command
- DbCommand
Commande sur laquelle le paramètre doit être créé.
- name
- String
Le nom du paramètre.
- value
- Object
Valeur à assigner au paramètre.
- direction
- ParameterDirection
Direction du paramètre.
Retours
Paramètre nouvellement créé.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour