Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetSelectCommand()

DbCommand System.Data.Common.DbCommandBuilder.GetSelectCommand ( )
inlineprivate

Definition at line 1010 of file DbCommandBuilder.cs.

1011 {
1012 DbCommand dbCommand = null;
1013 DbDataAdapter dataAdapter = DataAdapter;
1014 if (dataAdapter != null)
1015 {
1016 if (_missingMappingAction == (MissingMappingAction)0)
1017 {
1019 }
1020 dbCommand = dataAdapter.SelectCommand;
1021 }
1022 if (dbCommand == null)
1023 {
1024 throw ADP.MissingSourceCommand();
1025 }
1026 return dbCommand;
1027 }
MissingMappingAction MissingMappingAction

References System.Data.Common.DbCommandBuilder._missingMappingAction, System.Data.Common.DbCommandBuilder.DataAdapter, System.Data.Common.DataAdapter.MissingMappingAction, System.Data.Common.ADP.MissingSourceCommand(), and System.Data.Common.DbDataAdapter.SelectCommand.

Referenced by System.Data.Common.DbCommandBuilder.BuildCache(), and System.Data.Common.DbCommandBuilder.InitializeCommand().