1 Answer - Sort by: Date | Rating
Command builder generates insert/update/delete commands for data adapter based on select command. Automatic creation of insert/update/delete commands hinders performance. In case if we know the contents of insert/update/delete, then we should create these explicitly. It is much better to create explicit stored procedures for insert/update/delete and assign these. Store procedures are much better way to do and it is all the way safer than these.
The command builder uses select command property of data adapter to determine values for other commands. If there is change in select command of data adapter, remember to call refresh Scheme to update the command properties. Point here to be note able is that command builder will only generate a command for data adapter's command property if command property is null, if it is not null then it will not make.
By default command properties are null for data adapter, so whenever we use it we have to careful about it. If you explicitly set a command property, the command builder does not overwrite it. You need to set the command property to null to allow command builder to generate a command for command property. Another thing here is that command builder is nice to use and recommended if the tables are simple but when we are talking about complex select statements then we should give more parameters and new commands for each of the command properties in the data adapter.
The command builder uses select command property of data adapter to determine values for other commands. If there is change in select command of data adapter, remember to call refresh Scheme to update the command properties. Point here to be note able is that command builder will only generate a command for data adapter's command property if command property is null, if it is not null then it will not make.
By default command properties are null for data adapter, so whenever we use it we have to careful about it. If you explicitly set a command property, the command builder does not overwrite it. You need to set the command property to null to allow command builder to generate a command for command property. Another thing here is that command builder is nice to use and recommended if the tables are simple but when we are talking about complex select statements then we should give more parameters and new commands for each of the command properties in the data adapter.
0
1
- What Is The Un Theme Of The Year 2009?
- Why Should We Use Pointers In C++ Language?
- Why Do We Use Pointers In C?
- What Is Hierarchical Communication?
- What Are The Difference Between Front-end And Back-end Languages..? Can U Plz Give Some Examples Of Both..?
- Can I Do Initial Programming On Line?
- How Will You Use Monitors For Process Synchronization?
- Can School Loop Be Used?
- What Is An Example Of A String Base^?
- What Is An Event Horizon?
- Q. How Many Types Of Anomalies Are There In A RDBMS?
- Write A C# Application That Accept 2 Numbers And One Operator From The Keyboard And Display The Result?
- How Many Types Of Data Structures Are There?
- What Are The Differences Between Static Global Variables And Local Global Variables In JAVA Programming?
- What Is Entity Integrity?
- What Is Integrity Constraints?
- What Are The Risks Using Database?
- Write A Program To Display A String With An Embedded Quote:"Sachin Has Played A Game Of His Life"?
- Can Anyone Give Me The Code In C++ For Reversing A Linked Circular Queue Using Pointers?
- Create A Class Time And Its Data Members Are Hours,mins And Secs And Operator Overload +,-,==,!,>,?
- Write A Program In C To Find The Area Of Rectangle, Area Of Circle, Area Of Cube Using Overloading Function?
- How To Create Algorithm And Flowchart Of Fibonacci Series?
- What Is A Referential Anomaly?
- Why Java Is Popular In Market?
- What Does The Following Coe Print. Systemout.println("*")?
- What Are The Differences Between Asp Version 3 And Asp.net?
- What Is The Difference Between Asp And Asp.net (i Am Confused)?
- Can We Run The Asp.net Project Without .Net Software In A System, If We Can, How?
- Can You Refer Me To Some Websites Where I Can Learn About .NET, Particularly ASP.NET?
- What Is The Difference Between Asp.net And Vb.net?
- What Is ASP.NET?
- What Are The Applications Of ASP.net?
- What Is Asp Dot Net?
- When Do I Use Cookies In Asp.net?

New Comment - Comments are editable for 5 min.