DbCommand.Prepare 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 prepared (or compiled) version of the command on the data source.
public:
abstract void Prepare();
public abstract void Prepare ();
abstract member Prepare : unit -> unit
Public MustOverride Sub Prepare ()
Implements
Remarks
If the CommandType property is set to TableDirect
, Prepare
does nothing. If CommandType is set to StoredProcedure
, the call to Prepare
should succeed, although it may result in a no-op.
Applies to
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.