c# - Tips on creating a reusable library -


I have recently started changing all the tables in the models from our Oracle production so that I started using an ORM Can I I chose the Castle Active Record and in fact can begin to see my potential in making my life easier. Since many applications I work with using the same tables. I think it would be nice to create a separate library.

My thinking is that if I can successfully separate the database work, table relationships and inquiries, then I can reuse them from the project to the project till my heart's content. I know for the most part how to create new institutions, link them and what I want based on the mapped maps. So far, I have a very simple class library, I could then include common functions that can be used to query the lookup table and for example an id-value pair can be returned to populate the dropdown. .

Can you please give me some tips and / or personal experience to achieve this goal? It will be my first time to try to make any kind of reusable library.

Thank you.

Comments