Need Help on entity framework
        Posted  
        
            by Sarathi1904
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Sarathi1904
        
        
        
        Published on 2010-04-08T06:52:31Z
        Indexed on 
            2010/04/08
            7:03 UTC
        
        
        Read the original article
        Hit count: 406
        
ASP.NET
|entity-framework
I have 3 tables(Roles,Actions and RoleActionLinks). Roles table has few columns(RoleID,RoleName,Desc). Actions table has few colums(ActionID,ActionName,Desc). In RoleActionLink is created for store the association between Roles and Actions and this table has the columns such as RoleID,ActionID
When I created the data model(edmx). it shows only Role and Action as entity. i did not find RoleActionLink table. but even there is no direct relation between Roles and Actions table, both tables are automatically related using RoleActionLink table.
When i create the new Action, a action record should be populated in Action table(this is works fine). At the same time, i need to populate record in RoleActionLinks table. But i dont have the entity to populate.
Please tell me how to accomplish my needs.
© Stack Overflow or respective owner