Data access framework (in commercial applications --)

Source: Internet
Author: User

Group buying items
Project address
(Help manual) no longer occupies the Layout

// -- First, it indicates that this is a simplified version. The official version is ready, but it is not tested.
This design was inspired by subsonic, another of the other components of LINQ.

Database Class-needless to say-mainly they-mainly using entity abstract classes

-- Abstract object class
Getsqlcommand-you can get a parameter object -- the main thing is that the attribute of this class implementing the abstract class is the same as the parameter in the stored procedure, the same is a bit like LINQ, the important thing is that this property connects to the parameter class, so that you can directly set the parameter value or data.
-- Getsqltext-get the running parameter
-- Setparameter (used to load parameters that have been stored)

Parameter class
-- Note that this parameter class has a getoutputparames-this is used to get the output parameter-
-- Hasoutputparams-determine whether a return value exists

-- The logic layer is easier to implement an object directly. Of course, you have to call the data access layer.-I have improved it in the new framework.
-- Others are simple.

Some people may say this is not troublesome ~~ As a matter of fact, I want to write a code generator myself-the world is clean--only support for Stored Procedure pulling

--In addition, My angellframework has been thoroughly upgraded to the above-it supports all ADO. databases that can be accessed by net2.0-In addition, memory-saving tips are added-and more methods are supported. Haha, the test is poor.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.