Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm new to ASP.net and coming from a Ruby on Rails background. I have 3 tables in question they are Booking, Customer and Contact (contact being customer contact details). Basically what i want to do is have one form which will create all of the objects required in one go, so if i create a booking it also creates a customer and their contact details. I am familiar with this process in Rails which is accepts nested attributes for. I'd appreciate any pointers for a similar solution in ASP.net
I'd recommend learning Entity Framework as an ORM for this application.
http://msdn.microsoft.com/en-us/data/jj206878
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Is it possible to create an API using EF Core and ASP .NET Core that is flexible and allows you to eager load?
For example: you would call groups with a post call and you could tell the API "include the users list in those loaded entities".
Also it would be nice to pass conditions to the API.
Do you have to create specific methods for this like LoadGroups for groups and LoadGroupsWithUsers for a include of users or is it possible to create a single method in the Controller for this that is capable of handling both?
As #vsarunov mentioned this can be achieved by using GraphQL.
Here his link.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I just started on a personal project for scouting-groups, it is a webapp which will be build on the frontend in Angular2 and the backend will be a restfull server(asp.net/C#).
a part of my project will need to read or contact diffrent bankaccounts and check if the contribution of a certain month is paid.
the question is: Where to start?
Best way is to import transaction files. A direct connection to banks are most of the time only for big companies and is a lot of work to implement (if they let you). Most banks have multiple file types to export transactions, choose the most common and implement this.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have a program, Designed by C # and SQL Server databases
How can I import information from another program (Amadeus to book airline tickets) and displayed in DataGridView ???
You should use either Web Api or SOAP services, please check this link it'll give you some information. Link
For Example there is an API: Uber API
Update: Basically your question is very general sort of way. I would suggest you to look for an booking flight API and read it's suggestion.
P.S accept the answer if it was any help.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
Is it possible to access Twitter's "Who to follow" list via their API? If yes, could you point me to a tutorial where I can understand and implement it in a pet project I'm working on? Thanks.
It appears that that function is not documented. Therefore I would suggest using the Twitter REST api:
https://dev.twitter.com/rest/reference/get/users/suggestions/%3Aslug
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a dispute with my colegue about how Entity Framework interacs with MS SQL SERVER.
We are arguing about if Entity Framework loads all the values from Db tables in Objects or not.
EDITED: when we select data using LINQ i my opinion LINQ query works with entity objects not direct with tables so the information in objects where previously obtained from the table.
The whole idea behind EF is to solve the impedance between relational an object oriented worlds, so, I don't see the point in your question..