TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jbara jihed
NA
59
434
How I Can duplicate a complex object with all param/subclas
Jan 3 2020 2:58 AM
i'm using Asp.net With Nhibernate
I want to duplicate complex object with all references
This is the Model:
public class X : AuditableVersionPersistentObject<long,int>{
private ISet<Clause.Clause> _clauses = new HashSet<Clause.Clause>();
private ISet<DocumentLink> _documentLinks = new HashSet<DocumentLink>();
private long? _EtudiantNumber;
private ApplicationUser _applicationUser;
private Offer _Offer;
private Person.Person _etudiantHolder;
private Person.Person _etudiantPayer;
... }
This Is the Function copy :
public virtual Etudiant CopyEtudiant()
{
Etudiant etudiant= new Etudiant (0, 0);
etudiant.EtudiantNumber= EtudiantNumber;
....
}
Reply
Answers (
0
)
I’m embedding a google trends map, but I’m getting an error
in angular with webapi chatbot