locked
Path MERGE is forbidden and Entity with ICollection Error RRS feed

  • Question

  • Hi
    i have simple scenario with my Data Service but i have big problem that i can not figure out how to solve the problem, i have Simple SQL Server DataBase  as this :
     
    CREATE TABLE Cities
    (
    	Code int NOT NULL,
    	Name char(30) NOT NULL,
    	PRIMARY KEY CLUSTERED (Code)
    )
    
    GO
    
    CREATE TABLE BusinessPartners
    (
    	NationalNo char(10) NOT NULL,
    	FirstName char(30) NULL,
    	LastName char(50) NULL,
    	Sex TINYINT NOT NULL DEFAULT 0 CHECK(Sex BETWEEN 0 AND 2),
    	FatherName char(30) NULL,
    	BirthDate DateTime NULL,
    	BirthPlaceCode int NULL,
    	BirthCertificateNo NVARCHAR(20) NULL,
    	BirthCertificateDate DateTime NULL,
    	BirthCertificatePlaceCode int NULL,
    	MarriageStatus TINYINT NULL DEFAULT 0 CHECK(MarriageStatus BETWEEN 0 AND 3),
    	Telphone NVARCHAR(20) NULL,
    	Mobile NVARCHAR(20) NULL,
    	HomeAddress NVARCHAR(200) NULL,
    	PostCode NVARCHAR(10) NULL,
    	Email NVARCHAR(40) NULL,
    	PRIMARY KEY CLUSTERED (NationalNo),
    	FOREIGN KEY (BirthPlaceCode) REFERENCES Cities(Code),
    	FOREIGN KEY (BirthCertificatePlaceCode) REFERENCES Cities(Code)
    )
    
    GO
    	
    CREATE TABLE BusinessPartnerPhotoes
    (
    	NationalNo char(10) NOT NULL,
    	Photo VARBINARY(max) NULL,
    	PRIMARY KEY CLUSTERED (NationalNo),
    	FOREIGN KEY (NationalNo) REFERENCES BusinessPartners(NationalNo)
    )
    
    GO
    
    CREATE TABLE Employees
    (
    	EmployeeNo char(10) NOT NULL,
    	NationalNo char(10) NOT NULL,
    	IsActive bit DEFAULT 1 CHECK (IsActive BETWEEN 0 AND 1),
    	PRIMARY KEY CLUSTERED (EmployeeNo),
    	FOREIGN KEY (NationalNo) REFERENCES BusinessPartners(NationalNo)
    )
    
    GO
    
    CREATE TABLE Departments
    (
    	Code int NOT NULL,
    	ParentCode int NULL,
    	Name char(30) NOT NULL,
    	PRIMARY KEY CLUSTERED (Code),
    	FOREIGN KEY (ParentCode) REFERENCES Departments(Code)
    )
    
    GO
    
    CREATE TABLE EmployeeDepartments
    (
    	EmployeeNo char(10) NOT NULL,
    	DepartmentCode int NOT NULL,
    	StartDate DateTime NOT NULL,
    	EndDate DateTime NOT NULL,
    	IsManagerState TINYINT NOT NULL DEFAULT 0,
    	PRIMARY KEY CLUSTERED (EmployeeNo, DepartmentCode, StartDate, EndDate),
    	FOREIGN KEY (EmployeeNo) REFERENCES Employees(EmployeeNo),
    	FOREIGN KEY (DepartmentCode) REFERENCES Departments(Code)
    )
    
    GO
    
    
    

    and i Have this EF 4.1 code first Imp.
     public class City
     {
      public int Code { get; set; }
      public string Name { get; set; }
    
      public City()
      {
      }
    
      public City(int code, string name)
      {
       Code = code;
       Name = name;
      }
     }
    
    //////////////////////////////////
    
     public class BusinessPartner
     {
      public string NationalNo { get; set; }
      public string FirstName { get; set; }
      public string LastName { get; set; }
      public byte Sex { get; set; }
      public string FatherName { get; set; }
      public DateTime? BirthDate { get; set; }
      public int? BirthPlaceCode { get; set; }
      public virtual City BirthPlace { get; set; }
      public string BirthCertificateNo { get; set; }
      public DateTime? BirthCertificateDate { get; set; }
      public int? BirthCertificatePlaceCode { get; set; }
      public virtual City BirthCertificatePlace { get; set; }
      public byte? MarriageStatus { get; set; }
      public string Telphone { get; set; }
      public string Mobile { get; set; }
      public string HomeAddress { get; set; }
      public string PostCode { get; set; }
      public string Email { get; set; }
      public virtual BusinessPartnerPhoto Photo { get; set; }
    
      public BusinessPartner()
      {
      }
    
      public BusinessPartner(string nationalNo, string firstName, string lastName)
      {
       NationalNo = nationalNo;
       FirstName = firstName;
       LastName = lastName;
      }
     }
    
    //////////////////////////////////
    
     public class BusinessPartnerPhoto
     {
      public string NationalNo { get; set; }
      public byte[] Photo { get; set; }
    
      public BusinessPartnerPhoto()
      {
      }
    
      public BusinessPartnerPhoto(string nationalNo)
      {
       NationalNo = nationalNo;
      }
     }
    
    //////////////////////////////////
    
     public class Employee : BusinessPartner
     {
      public string EmployeeNo { get; set; }
      public bool IsActive { get; set; }
    
      public virtual ICollection<EmployeeDepartment> EmployeeDepartments { get; set; }
    
      public Employee()
      {
      }
    
      public Employee(string employeeNo, string nationalNo, bool isActive)
      {
       EmployeeNo = employeeNo;
       NationalNo = nationalNo;
       IsActive = isActive;
      }
     }
    
    //////////////////////////////////
    
     public class Department
     {
      public int Code { get; set; }
      public int? ParentCode { get; set; }
      public string Name { get; set; }
    
      public virtual Department Parent { get; set; }
    
      public Department()
      {
      }
    
      public Department(int code, int parentCode, string name)
      {
       Code = code;
       ParentCode = parentCode;
       Name = name;
      }
     }
    
    //////////////////////////////////
    
     public class EmployeeDepartment
     {
      public string EmployeeNo { get; set; }
      public int DepartmentCode { get; set; }
      public DateTime StartDate { get; set; }
      public DateTime EndDate { get; set; }
      public byte IsManagerState { get; set; }
    
      public virtual Employee Employee { get; set; }
      public virtual Department Department { get; set; }
    
      public EmployeeDepartment()
      {
      }
    
      public EmployeeDepartment(string employeeNo, int departmentCode, DateTime startDate, DateTime endDate, byte isManagerState)
      {
       EmployeeNo = employeeNo;
       DepartmentCode = departmentCode;
       StartDate = startDate;
       EndDate = endDate;
       IsManagerState = isManagerState;
      }
     }
    
    //////////////////////////////////
    
     internal class CityTypeConfiguration : EntityTypeConfiguration<City>
     {
      public CityTypeConfiguration()
      {
       HasKey(t => t.Code);
       Property(t => t.Name).HasMaxLength(DataFieldSizeHelper.CityNameSize);
      }
     }
    
    //////////////////////////////////
    
     internal class BusinessPartnerTypeConfiguration : EntityTypeConfiguration<BusinessPartner>
     {
      public BusinessPartnerTypeConfiguration()
      {
       HasKey(t => t.NationalNo);
       Property(t => t.NationalNo).HasMaxLength(DataFieldSizeHelper.NationalNumberSize);
       Property(t => t.FirstName).HasMaxLength(DataFieldSizeHelper.FirstNameSize);
       Property(t => t.LastName).HasMaxLength(DataFieldSizeHelper.LastNameSize);
       Property(t => t.FatherName).HasMaxLength(DataFieldSizeHelper.FirstNameSize);
       HasOptional(t => t.BirthPlace).WithMany().HasForeignKey(f => f.BirthPlaceCode);
       Property(t => t.BirthCertificateNo).HasMaxLength(20);
       HasOptional(t => t.BirthCertificatePlace).WithMany().HasForeignKey(f => f.BirthCertificatePlaceCode);
       Property(t => t.Telphone).HasMaxLength(20);
       Property(t => t.Mobile).HasMaxLength(20);
       Property(t => t.HomeAddress).HasMaxLength(200);
       Property(t => t.PostCode).HasMaxLength(10);
       Property(t => t.Email).HasMaxLength(40);
       HasOptional(t => t.Photo).WithRequired();
      }
     }
    
    //////////////////////////////////
    
     internal class BusinessPartnerPhotoTypeConfiguration : EntityTypeConfiguration<BusinessPartnerPhoto>
     {
      public BusinessPartnerPhotoTypeConfiguration()
      {
       HasKey(t => t.NationalNo);
       Property(t => t.NationalNo).HasMaxLength(DataFieldSizeHelper.NationalNumberSize);
      }
     }
    
    //////////////////////////////////
    
     internal class EmployeeTypeConfiguration : EntityTypeConfiguration<Employee>
     {
      public EmployeeTypeConfiguration()
      {
       ToTable("Employees");
       HasKey(t => t.EmployeeNo);
       Property(t => t.EmployeeNo).HasMaxLength(DataFieldSizeHelper.EmployeeNumberSize);
       HasMany(t => t.EmployeeDepartments).WithOptional().HasForeignKey(f => f.EmployeeNo);
      }
     }
    
    //////////////////////////////////
    
     internal class DepartmentTypeConfiguration : EntityTypeConfiguration<Department>
     {
      public DepartmentTypeConfiguration()
      {
       HasKey(t => t.Code);
       Property(t => t.Name).HasMaxLength(DataFieldSizeHelper.DepartmentNameSize);
       HasOptional(t => t.Parent).WithMany().HasForeignKey(f => f.ParentCode);
      }
     }
    
    //////////////////////////////////
    
     internal class EmployeeDepartmentTypeConfiguration : EntityTypeConfiguration<EmployeeDepartment>
     {
      public EmployeeDepartmentTypeConfiguration()
      {
       HasKey(t => new { t.EmployeeNo, t.DepartmentCode, t.StartDate, t.EndDate });
       HasRequired(t => t.Employee).WithMany().HasForeignKey(f => f.EmployeeNo);
       HasRequired(t => t.Department).WithMany().HasForeignKey(f => f.DepartmentCode);
      }
     }
    
    //////////////////////////////////
    
     public class KartEmployeeContext : DbContext
     {
      public DbSet<City> Cities { get; set; }
      public DbSet<BusinessPartner> BusinessPartners { get; set; }
      public DbSet<BusinessPartnerPhoto> BusinessPartnerPhotoes { get; set; }
      public DbSet<Employee> Employees { get; set; }
      public DbSet<Department> Departments { get; set; }
      public DbSet<EmployeeDepartment> EmployeeDepartments { get; set; }
    
      protected override void OnModelCreating(DbModelBuilder modelBuilder)
      {
       base.OnModelCreating(modelBuilder);
       modelBuilder.Configurations.Add(new CityTypeConfiguration());
       modelBuilder.Configurations.Add(new BusinessPartnerTypeConfiguration());
       modelBuilder.Configurations.Add(new BusinessPartnerPhotoTypeConfiguration());
       modelBuilder.Configurations.Add(new EmployeeTypeConfiguration());
       modelBuilder.Configurations.Add(new DepartmentTypeConfiguration());
       modelBuilder.Configurations.Add(new EmployeeDepartmentTypeConfiguration());
      }
     }
    
    
    and this is my WCF Data Services Mar 2011 CTP2 Imp.
     
     public class EmployeeService : DataService<KartEmployeeContext>
     {
      public static void InitializeService(DataServiceConfiguration config)
      {
       config.UseVerboseErrors = true;
    
       config.SetEntitySetAccessRule("Cities", EntitySetRights.All);
       config.SetEntitySetAccessRule("BusinessPartners", EntitySetRights.All);
       config.SetEntitySetAccessRule("BusinessPartnerPhotoes", EntitySetRights.All);
       config.SetEntitySetAccessRule("Departments", EntitySetRights.All);
       config.SetEntitySetAccessRule("EmployeeDepartments", EntitySetRights.All);
       config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V3;
      }
    
     }
    
    

    now think that i have a employee with NationalNo == "1" and he has a photo in BusinessPartnerPhotoes and BirthPlaceCode with Code=1 and BirthCertificatePlaceCode with Code=2  has not any EmployeeDepartments and Departments Table is Empty. now i want to do this in client app.
     
       var context = new KartEmployeeContext(new Uri("http://localhost:4884/EmployeeService.svc/"));
       var quy = (from em in context.BusinessPartners
            .Expand(t => t.BirthPlace)
            .Expand(t => t.BirthCertificatePlace)
            .Expand(t => t.Photo)
           where em.NationalNo == "1"
           select em);
       var employee = quy.First();
    
       employee.FirstName = "David";
       context.UpdateObject(employee);
       try
       {
        context.SaveChanges();
        MessageBox.Show("Ok");
       }
       catch (Exception ex)
       {
        MessageBox.Show(ex.ToString());
       }
    
    
     when i try to execute this sample on context.SaveChanges() method i have this Error :
     
     
    "System.Data.Services.Client.DataServiceRequestException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: <html>\r\n <head>\r\n  <title>Path 'MERGE' is forbidden.</title>\r\n  <style>\r\n   body {font-family:\"Verdana\";font-weight:normal;font-size: .7em;color:black;} \r\n   p {font-family:\"Verdana\";font-weight:normal;color:black;margin-top: -5px}\r\n   b {font-family:\"Verdana\";font-weight:bold;color:black;margin-top: -5px}\r\n   H1 { font-family:\"Verdana\";font-weight:normal;font-size:18pt;color:red }\r\n   H2 { font-family:\"Verdana\";font-weight:normal;font-size:14pt;color:maroon }\r\n   pre {font-family:\"Lucida Console\";font-size: .9em}\r\n   .marker {font-weight: bold; color: black;text-decoration: none;}\r\n   .version {color: gray;}\r\n   .error {margin-bottom: 10px;}\r\n   .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }\r\n  </style>\r\n </head>\r\n\r\n <body bgcolor=\"white\">\r\n\r\n   <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>\r\n\r\n   <h2> <i>Path 'MERGE' is forbidden.</i> </h2></span>\r\n\r\n   <font face=\"Arial, Helvetica, Geneva, SunSans-Regular, sans-serif \">\r\n\r\n   <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.\r\n\r\n   <br><br>\r\n\r\n   <b> Exception Details: </b>System.Web.HttpException: Path 'MERGE' is forbidden.<br><br>\r\n\r\n   <b>Source Error:</b> <br><br>\r\n\r\n   <table width=100% bgcolor=\"#ffffcc\">\r\n    <tr>\r\n     <td>\r\n      <code>\r\n\r\nAn unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>\r\n\r\n     </td>\r\n    </tr>\r\n   </table>\r\n\r\n   <br>\r\n\r\n   <b>Stack Trace:</b> <br><br>\r\n\r\n   <table width=100% bgcolor=\"#ffffcc\">\r\n    <tr>\r\n     <td>\r\n      <code><pre>\r\n\r\n[HttpException (0x80004005): Path &#39;MERGE&#39; is forbidden.]\r\n System.Web.HttpMethodNotAllowedHandler.ProcessRequest(HttpContext context) +114\r\n System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100\r\n System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +75\r\n</pre></code>\r\n\r\n     </td>\r\n    </tr>\r\n   </table>\r\n\r\n   <br>\r\n\r\n   <hr width=100% size=1 color=silver>\r\n\r\n   <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225\r\n\r\n   </font>\r\n\r\n </body>\r\n</html>\r\n<!-- \r\n[HttpException]: Path &#39;MERGE&#39; is forbidden.\r\n at System.Web.HttpMethodNotAllowedHandler.ProcessRequest(HttpContext context)\r\n at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)\r\n-->\r\n --- End of inner exception stack trace ---\r\n at System.Data.Services.Client.SaveResult.HandleResponse()\r\n at System.Data.Services.Client.BaseSaveResult.EndRequest()\r\n at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions options)\r\n at System.Data.Services.Client.DataServiceContext.SaveChanges()\r\n at WpfApplication9.MainWindow.button1_Click(Object sender, RoutedEventArgs e) in D:\\Test\\WpfApplication9\\WpfApplication9\\MainWindow.xaml.cs:line 44"

    but the mysterious things is that i found if i comment this line of code on the Data Service, than i don't have any Error:
     
      
     public class EmployeeService : DataService<KartEmployeeContext>
     {
      public static void InitializeService(DataServiceConfiguration config)
      {
       config.UseVerboseErrors = true;
    
       config.SetEntitySetAccessRule("Cities", EntitySetRights.All);
       config.SetEntitySetAccessRule("BusinessPartners", EntitySetRights.All);
       config.SetEntitySetAccessRule("BusinessPartnerPhotoes", EntitySetRights.All);
       config.SetEntitySetAccessRule("Departments", EntitySetRights.All);
       //config.SetEntitySetAccessRule("EmployeeDepartments", EntitySetRights.All);
       config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V3;
      }
     }
    
    

    So, What is my problem, Can anyone help me, because i can not  comment EmployeeDepartments access because i need to load this list and do some CRUD operations over it.
     
    Thanks
     
     
     
     

    Saturday, June 25, 2011 5:40 AM

All replies

  • is there anyone who can help me ? this is a big problam and i don't know how fix it.

     

     

    Monday, June 27, 2011 4:37 AM
  • It looks like IIS is not conifured to allow requests with the MERGE verb. On your client context before you start issuing request, try turning on Post Tunneling and see if your code starts working.

    This should be something like:

    var context = new KartEmployeeContext(new Uri(http://localhost:4884/EmployeeService.svc/));
    context.UsePostTunneling = true;  


    Shayne Burgess | Program Manager | OData/WCF Data Services
    Monday, June 27, 2011 8:04 PM
    Moderator
  • no, bug still exist but the type of bug changed to :
     -----------------------------------------
    "<html>\r\n <head>\r\n  <title>The HTTP verb POST used to access path '/EmployeeService.svc/BusinessPartners('22222222')/Kart.Domain.Ef.Employee' is not allowed.</title>\r\n  <style>\r\n   body {font-family:\"Verdana\";font-weight:normal;font-size: .7em;color:black;} \r\n   p {font-family:\"Verdana\";font-weight:normal;color:black;margin-top: -5px}\r\n   b {font-family:\"Verdana\";font-weight:bold;color:black;margin-top: -5px}\r\n   H1 { font-family:\"Verdana\";font-weight:normal;font-size:18pt;color:red }\r\n   H2 { font-family:\"Verdana\";font-weight:normal;font-size:14pt;color:maroon }\r\n   pre {font-family:\"Lucida Console\";font-size: .9em}\r\n   .marker {font-weight: bold; color: black;text-decoration: none;}\r\n   .version {color: gray;}\r\n   .error {margin-bottom: 10px;}\r\n   .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }\r\n  </style>\r\n </head>\r\n\r\n <body bgcolor=\"white\">\r\n\r\n   <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>\r\n\r\n   <h2> <i>The HTTP verb POST used to access path '/EmployeeService.svc/BusinessPartners('22222222')/Kart.Domain.Ef.Employee' is not allowed.</i> </h2></span>\r\n\r\n   <font face=\"Arial, Helvetica, Geneva, SunSans-Regular, sans-serif \">\r\n\r\n   <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.\r\n\r\n   <br><br>\r\n\r\n   <b> Exception Details: </b>System.Web.HttpException: The HTTP verb POST used to access path '/EmployeeService.svc/BusinessPartners('22222222')/Kart.Domain.Ef.Employee' is not allowed.<br><br>\r\n\r\n   <b>Source Error:</b> <br><br>\r\n\r\n   <table width=100% bgcolor=\"#ffffcc\">\r\n    <tr>\r\n     <td>\r\n      <code>\r\n\r\nAn unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>\r\n\r\n     </td>\r\n    </tr>\r\n   </table>\r\n\r\n   <br>\r\n\r\n   <b>Stack Trace:</b> <br><br>\r\n\r\n   <table width=100% bgcolor=\"#ffffcc\">\r\n    <tr>\r\n     <td>\r\n      <code><pre>\r\n\r\n[HttpException (0x80004005): The HTTP verb POST used to access path &#39;/EmployeeService.svc/BusinessPartners(&#39;22222222&#39;)/Kart.Domain.Ef.Employee&#39; is not allowed.]\r\n System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +2489821\r\n System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8862676\r\n System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +184\r\n</pre></code>\r\n\r\n     </td>\r\n    </tr>\r\n   </table>\r\n\r\n   <br>\r\n\r\n   <hr width=100% size=1 color=silver>\r\n\r\n   <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225\r\n\r\n   </font>\r\n\r\n </body>\r\n</html>\r\n<!-- \r\n[HttpException]: The HTTP verb POST used to access path &#39;/EmployeeService.svc/BusinessPartners(&#39;22222222&#39;)/Kart.Domain.Ef.Employee&#39; is not allowed.\r\n at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)\r\n at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)\r\n-->"
    --------------------------------------
    but i found somthing else , when i'm creating an Employee or getting an employee from context and save it to an varibale like this :
     
     EmployeeServiceReference.Employee employee = new EmployeeServiceReference.Employee()
     
    there isn't any problem, but when i am loading a list of employee like this and changing one of them in the list and call employeeContext.Save()
    this problem appear,
            DataServiceCollection<BusinessPartner> employees = new DataServiceCollection<BusinessPartner>();
    
             var query = from em in _employeeContext.BusinessPartners
              .Expand(t => t.BirthPlace)
              .Expand(t => t.BirthCertificatePlace)
             where em is Domain.ClientProxy.EmployeeServiceReference.Employee
             select em;
    		
            employees.Load(query)
    .
    .
    .
    .
    
    		 employeeContext.SaveChanges();
    

     

    what is your idea?

     

    Wednesday, July 6, 2011 11:45 AM
  • Any Solution ?
    Saturday, July 9, 2011 12:28 PM
  • So, There isn't anyone who can help me to solve this problem ?
    Tuesday, July 12, 2011 4:43 AM
  • i think this problem happen because i should load my list of employees in a collection of DataServiceCollection<BusinessPartner> like this :

     

    private readonly DataServiceCollection<BusinessPartner> _employees = new DataServiceCollection<BusinessPartner>();
    
    .
    .
    .
    
    var query = from em in _employeeContext.BusinessPartners
                        .Expand(t => t.BirthPlace)
                        .Expand(t => t.BirthCertificatePlace)
                      where em is Domain.ClientProxy.EmployeeServiceReference.Employee
                      select em;
    
    _employees.Load(query);
    

     

     

    but i don't know how i can load my query in a collection of type DataServiceCollection<Domain.ClientProxy.EmployeeServiceReference.Employee>

     

    Please help me to solve this problem, because this is very important for us,

     

    Thanks

     

     

     

    Sunday, July 24, 2011 4:26 AM
  • what should i do, is there anyone in WCF DataService that can help me or this is a unknown dragon ?
    Tuesday, July 26, 2011 8:34 AM