the question has been changed as
Give a brief overview of Entity Framework(EF)
What are some other ORMs (Object Relational Mapping) that are comparable to EF?
Do you think EF makes life easier for the developer?
What is your experience so far?
Give a brief overview of Entity Framework(EF)
Entity Framework is an Object Relational Mapping Framework offered
by Microsoft for .NET applications. The main objective is to remove
the cumbersome and error-prone involved in creating the database
and activities involved in database mapping.
EF lets the developer work with data using an object without much worrying about the underlying database. The need of writing data-access code is being eliminated by EF.
Without EF:
String sqlQuery = "SELECT studentName FROM Students WHERE studentId
= 1"
Db cmd = new Db(connectionString, sqlQuery);
Result result = cmd.Execute();
String name = result[0]["NAME"];
With EF:
Student s = repo.GetStudent(1);
String name = s.Name;
What are some other ORMs (Object Relational Mapping) that are
comparable to EF?
NHibernate is another ORM which is similar to EF. In EF, you should
extend base class entity to perform operations but NHibernate
provides more flexible operations. It supports Inheritance mapping,
unidirectional association mapping. It has object-oriented power
similar to EF. It provides backward compatibility.
Do you think EF makes life easier for the developer? What is your
experience so far?.
Of course, it makes the programmer life easier.
Some of the reasons,
-> Less error-prone: Manual mapping susceptible to more human
errors.
-> Less time: It helps to reduce the development efforts which
in turn reduces the time taken.
-> Productivity: It makes the developer be more productive by
ignoring some process.
-> Complexity: The complexity of the code is being reduced by
using object-oriented database mapping.
-> Easy to understand: The code readability would be simple
since data members are represented using object and internal
details are encapsulated and wrapped.
-> Support and Maintenance: Debugging the code would be easier,
less cumbersome and maintaining the existing code would be
easier.
-> Cross Platform: It is a cross-platform application which
would help the developer to use it in any system.
-> Concurrency: It uses concurrency control in the
database.
-> Caching: Information is being cached.
-> Modelling: It creates an Entity Data Model from a Plain Old
CLR object which can be used for querying.
the question has been changed as Give a brief overview of Entity Framework(EF) What are some...
Question: A 4m, 500kg steel beam extends horizontally from
thepoint where it has been bolted to the framework of a new
buildingunder construction. a 70kg worker stand at the far end of
the beam.What is the magnitude of the torque about the point where
the beamis bolted into place.
Now this is what I have:
τ (grav)=-MgXcm where Mg is the net gravitational forceacting
on the object and Xcm is the moment arm between the rotationaxis
and center of mass....
Peter has been with the organisation for about six months, and has been an enthusiastic and quick learner. He started off in another department and then moved to your team four weeks ago. Peter hasn’t quite settled down with the other members of the team yet – he has been reluctant to contribute and is ‘stand- offish’ with others in the team. You’ve overheard one of the guys complaining that that they think Peter is ‘stuck up’. You have also...
1. I hear people talking about how a person's personality can change throughout their life depending on the people they associate themselves with and can be changed if they change their lifestyle or the people they surround themselves with. But according to Freud's development of personality theory, person's personality is established at Stage 5, seeming almost as if it is genetic. I have no actual opinion of whether it is genetics or social, but I do believe it is a...
How have our ideas on "Marriage" and "Family" changed in the last 100 years? Images used in marketing and advertising can speak volumes about the norms, values, and ideals of a particular generation. Here is an example: Look at how we market an image of what is “healthy”. If you look at any tabloid magazine cover while you are waiting to check out with your groceries (if you normally don't look, next time consciously do so!), you will find that,...
Overview This assignment will give you experience on the use of classes. Understand the Application Every internet user–perhaps better thought of as an Internet connection–has certain data associated with him/her/it. We will oversimplify this by symbolizing such data with only two fields: a name ("Aristotle") and a globally accessible IP address ("139.12.85.191"). We could enhance these by adding other—sometimes optional, sometimes needed—data (such as a MAC address, port, local IP address, gateway, etc), but we keep things simple and use...
1. List some of the various communities to which you belong (organizations, work, hobbies, fields of expertise, family). Give examples of some of the behavioral and language characteristics particular to each group? For instance, do you speak to your job supervisor in the same way you speak to your child or your best friend? Why might you interact with members of different communities differently? 2.What are some of your past experiences with writing? Please explain what you like and...
Programming in C with comments/steps
1. Overview The purpose of this assignment is to give you some experience with writing functions that take in arguments and return values, as well as writing a program that consists of multiple files. This assignment also requires the use of a switch statement, in addition to more practice with printf& scanf declaring variables, using loops, and using logical expressions. For this assignment, you will prompt the user in the main function to enter their...
Case 1. A first-year college student is talking to a counselor in the Center for Student Services. She has been talking about some of the difficulties of adjusting to college life. She comes from a small town and is attending a large state university. She speaks openly and seems to be in good spirits; she even smiles at times: “My new friends seem so much worldlier and confident than me. Most of them have traveled out of the country, have...
Please help Please help me write some comment on their post based on what their article as well as their summary. For my second journal topic I decided to do a summary on the NURSING ETHICS INTO THE NEXT MILLENNIUM: A CONTEXT-SENSITIVE APPROACH FOR NURSING ETHICS. This article begins by discussing why it is so important for the new generations of nurses to understand the importance of ethical nursing. This is very prevalent with new medical procedures that are available,...
Ask one question about this post and give some feedbacks
100 words
The question should be a conceptual question that demonstrates a
higher level application of knowledge like; "How does your data
demonstrate the role of entropy and order in the river system in
general?", or "Comparing your results to the results of your
electrophysiology experiment discuss how these systems change in
response to experience." Specifically, this is about synthesizing
ideas applying the results to a novel situation. You could...