locked
Questions and Feedbacks on DataServices RRS feed

  • Question

  • I love these feature:

    • WebDataContext.LoadProperty
    • WebDataContext.TryGetEntity
    • WebDataContext.TryGetUri

     

    I miss

    • INotityPropertyChanged implementation on code-gen for WPF Databinding.
    • Partial change method (before/after) for Entity reference on Client code-gen . 
    • "IsLoaded" method on Collection<T> (previously on Astoria WebDataCollection<T>) to control lazy loading.
    • A set of constants produce by code-gen that is all the propertyNames, entitySetNames...

    Why

    • code-gen doesn't produce a code that isDataBinding oriented:
      • INotityPropertyChanged on entity
      • BindingList<T> for collection
    • Why Client code generation doesn't rely on pattern that can be customize by end user.

    How ATOM works:

    <feed xml:base="http://host/northwind.svc/" xmlns:ads="http://schemas.microsoft.com/ado/2007/08/dataweb" xmlns:adsm="http://schemas.microsoft.com/ado/2007/08/dataweb/metadata" xmlns="http://www.w3.org/2005/Atom">

      <id>http://localhost:51905/nw.svc/Products</id>

      <updated />

      <title>Products</title>

      <link rel="self" href="Products" title="Products" />

      <entry adsm:type="NorthwindModel.Products">

        <id>http://host/vdir/northwind.svc/Products(1)</id>

        <updated />

        ...

        <link rel="edit" href="Products(1)" title="Products" />

        <content type="application/xml">

          <adsStick out tongueroductID adsm:type="Int32">1</adsStick out tongueroductID>

          <adsStick out tongueroductName>Chai</adsStick out tongueroductName>

          <ads:QuantityPerUnit>10 boxes x 20 bags</ads:QuantityPerUnit>

          ...

          <adsBig Smileiscontinued adsm:type="Boolean">false</adsBig Smileiscontinued>

        </content>

        <link rel="related" title="Categories" href="Products(1)/Categories"

        ...  </entry>

      <entry> </entry>

    </feed>

     

     Regards.

     

    Thursday, December 13, 2007 10:59 PM

Answers

  • Databinding unfortunately did not make the cut for this CTP.  Don't worry, we will have it in the final release.

     

    Friday, December 14, 2007 3:24 AM
    Moderator
  • Thanks for the feedback...

     

     

    Regarding the XML question:

    It’s not a namespace associated with the model itself, but rather it’s a namespace used for properties of all models – in particular, it’s the namespace for elements that are not part of ATOM. There isn’t an XML Schema for these names

     

     

    -Mike Flasko

    Program Manager, ADO.NET Data Services ("Project Astoria")

    Monday, December 17, 2007 3:50 AM

All replies

  • Databinding unfortunately did not make the cut for this CTP.  Don't worry, we will have it in the final release.

     

    Friday, December 14, 2007 3:24 AM
    Moderator
  • Thanks for the feedback...

     

     

    Regarding the XML question:

    It’s not a namespace associated with the model itself, but rather it’s a namespace used for properties of all models – in particular, it’s the namespace for elements that are not part of ATOM. There isn’t an XML Schema for these names

     

     

    -Mike Flasko

    Program Manager, ADO.NET Data Services ("Project Astoria")

    Monday, December 17, 2007 3:50 AM