© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
5 replies
Dreams

Can I have constructor in my EF model?

Can I have constructor to create the model based off of the DTO?

Right now I have a constructor to make a DTO based off of the model
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

EF parameterless constructor
C#CC# / help
2y ago
❔ What is the purpose of `ModelBindingContext.Model`, `ModelName`, and `ModelBinderAttribute.Name`?
C#CC# / help
3y ago
❔ Ef Core Constructor problem
C#CC# / help
4y ago
Can I re-use a fields docs in my constructor?
C#CC# / help
3y ago