Click here to Skip to main content
13,091,363 members (61,521 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I am Using a Iset Collection in my code.
This gives me an error like this operation not supported in wcf.
I am using wcf test client inorder to test my methods.I am Using Nhibernate in my application to map.


<class name="User" table="user" dynamic-insert="true">
  <id name="Id" column="id">
    <generator class="identity"></generator>
  <property name="FirstName" column="firstname" />
  <property name="LastName" column="lastname"  />
  <set  name="RoleList"   table="rolemapping" >
    <key column="id" />
    <many-to-many column="roleid"   class="Roles"  />


private ISet<Roles> roleList = new HashSet<Roles>();
virtual public  int Id { get; set; }
        virtual public  string FirstName { get; set; }
        virtual public string LastName { get; set; }

virtual public ISet<Roles> RoleList
          get { return roleList; }
          set { roleList = value; }

I want to fetch and insert values from/to user table using a link table role mapping.
I already tried everything with bag,ibag tags.But it didn't worked.
Is there any other way or please help me on this?
Posted 8-Jul-11 1:54am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 8 Jul 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100