unit of work design pattern - example without entity framework? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I'm trying to learn the Unit of Work and Repository patterns and wanted to do some samples at the same time. However, whatever I'm finding online always uses Entity Framework.
What would the Unit of Work and Repository patterns look like if not specific to Entity Framework? It is a little difficult to discern what aspects are part of the pattern and what are a side affect of integrating with EF.

Related

Creating Multiple DbContext in Entity Framework example [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am going to develop a project where i would like to use Entity Framework 5 with Code First Approach. I want to use multiple DbContext file. So can anyone please give an example with with a sample project to demonstrate multiple DbContext file. I will be highly grateful.
Thanks .
I don't know if this is a good idea, because there are many side effects. Have a look here:
Entity Framework: One Database, Multiple DbContexts. Is this a bad idea?
But in fact it should be working when you look at the latest comment on this thread. Just define the ConnectionString in the context and set it to the same in every context class.
If you need more informations please provide us with more informations what you are trying to achieve and what's your requirements.

Is there a good practice to remember Regex rules? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I once a while use Regex, but every time I have to reread the matching rules, it is so hard to remember.
Is there a good source helping people remember and understand those matching rules?
Here's a site that offers a "cheat sheet" for the .NET flavor of regex:
http://regexlib.com/CheatSheet.aspx
Though it's really a matter of just knowing it or not (like knowing C#, JavaScript, or any of the other languages). Repetition and practice will persevere.
in visual studio i do find/replacing with regex, helps me practice. Especially in the entity framework

Have you seen library for flexible working with terminal(Unix like)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Have you seen library for flexible working with terminal(Unix like)?
I want to implement autocompletion, history, help params in my console application same operations you can see in the Unix terminals.
C#, Mono library.
Thanks.
Here you go, GNU Readline support for Mono, Mono-Readline.
See also, Is there a .Net library similar to GNU readline?

Efficient suffix array algorithm in c# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Does anyone have any suggestions about where I can find a C# implementation for suffix arrays? I'd prefer not to reinvent the wheel...
A bit late, but here is another one: sais
Have you looked at sary? I haven't used it but it looks relevant

An analog of C++ FQA for C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have found C++ FQA Lite very edificatory and would like to read more criticism. Could you recommend me something similar but concerning C#, please?
Thanks.
I don't think there is such a document. Most of the problems mentioned in the C++ FQA are not relevant for C# (and other languages).
You might want to read Common programming mistakes for .NET developers to avoid.

Categories