In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how to join the ADO.NET file project", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "how to join the ADO.NET file project" bar!
These three stored procedures need to be mapped to the entity class at the same time, that is to say, if you map the stored procedure for the insertion method of an entity class, then updates and deletes must also map the stored procedure, our three stored procedures all operate on the User table, so select the UserInfo entity class and set it in the Mapping details Mapping entity to functions tab.
Add an ADO.NET Entity Data Model file to the project, choose to generate the model from the database, and hook up the tables and stored procedures when selecting database objects, so as to complete the generation of the entity data model.
But if you use ADO.NET Framework to CRUD data at this time and do not use stored procedures, we ADO.NET Entity Data Model need to map stored procedures. Queries are mapped differently from the other three operations, which we discuss separately.
Let's start with the import of query stored procedures. Right-click function Import in the Model browser and select create function Import.
In the pop-up dialog box, set to select a stored procedure name for the query, ADO.NET Entity Data Model sets the name of the function that will be used to call the method later, and sets the return type of the method.
Thank you for your reading, the above is the content of "how to join the ADO.NET file project", after the study of this article, I believe you have a deeper understanding of how to join the ADO.NET file project, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un