I have a database that works with composite keys, and I'm implementing the use of the Laravel framework .
This is my bank structure:
I'm using doctrine as an ORM and found that I can not automatically generate the entities of the datab...
I'm developing an application using Eloquent ORM, but I'm having a problem with the N to N relationship,
The relationship is this:
TherecordsI'musingasatestintheProductGroupstable: TherecordsI'musingasatestintheSubassemblyTabletable: Asyouca...
I'm having a question, regarding ORM, I use Doctrine, but understanding ORM would help. The relation of idAninal of table consulta , with table Animal , would be ManyToMany , ManyToOne , or OneToMany ? Confor...
Good afternoon!
I'm trying to perform a query on a user table that has FK from 4 other tables, but I guess that's not the case, and I make 2 filters in WHERE, for example WHERE login = 'string' AND id <> numero; . But it does not...
Whenever I do: UPDATE MODEL FROM DATABASE on top of my edmx file, it does everything right, including showing the table to be updated or the fields. He makes no mistake, he proceeds as if everything is fine. But when I conclude, it does not chan...
I have a problem that is analogous to the following situation:
A car may or may not have a driver, ie a car may have a minimum of 0 and a maximum of 1 driver.
A driver may or may not have a car, ie a driver can have a minimum of 0 and a ma...
I'm developing a feature in my application that automatically map and generate entities.
The problem is that the user can select the tables that he wants to map, so I must insert a filter with the name of the tables to be converted. To do thi...
In a project management system we have the "Users" and "Projects" entities.
Iwouldliketoevolvethisbasicstructureintoastructurethatwouldinvolveteams.Example:Project1has3members.Whatisthebestwaytomaintainthisstructure?Wasthis?Whereauserwouldcr...
When working with ORM it is common (will it be mandatory?) to create the model classes as if they were a mirror of the bank tables. But I have a different case and wanted to know if dapper works this way. In the bank I have the tables. Pro...
I would like help with the error when I try to write NHibernate records through XML mapping.
The project has separate layers.
In the domain project, my entity is:
namespace NHibernateTesteWeb.Domain.Entity
{
public class Company...