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
P Narasimha
701
1.3k
248.3k
Many to many inserting values ito DB in Ado.net entity frame
Jul 23 2013 1:22 AM
Hi All,
Could you please help me on this.
i have in Ado.net entity framwork relation like this
modelBuilder.Entity<Permission>()
.HasMany(u => u.Roles)
.WithMany(r => r.Permissions)
.Map(mapTable => mapTable.MapLeftKey("PERMISSION_ID")
.MapRightKey("ROLE_ID")
.ToTable("ROLE_PERMISSIONS", schema_name));
here while saving role object inserting PERMISSION_ID,Role_ID from role object and primarykey value from Sequence now i want remove the Sequence in DB and insert through code how can i do this please help me on this.
Thanks & Regards,
Narasimha
Reply
Answers (
1
)
Connection Database Using NHibernate getting Exception
Create Dynamic Site Map