locked
Any sample for IEnumerable<TResult> ExecuteQuery<TElement, TResult> RRS feed

  • Question

  • HI,

    Can any one provide me good sample for acccesing Azure table storage using the following the method

    publicIEnumerable<TResult> ExecuteQuery<TElement, TResult>( TableQuery<TElement> query, EntityResolver<TResult> resolver, TableRequestOptions requestOptions = nullOperationContext operationContext = null ) where TElement : ITableEntitynew();       

    My Intention was to query table and result should be converted into DTO Object.

     

    Mahender

    Sunday, October 19, 2014 2:49 PM

Answers

  • Hi Mahender,

    Thank you for posting here.
    You could try the following link for sample codes.

    http://bretthargreaves.wordpress.com/2014/01/11/azure-table-storage-with-repository-pattern/

    Meanwhile we will get in touch with the relevant team for further assistance with this.
    We appreciate your patience.

    Regards,
    Malar.

    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Sunday, October 19, 2014 5:51 PM

All replies

  • Hi Mahender,

    Thank you for posting here.
    You could try the following link for sample codes.

    http://bretthargreaves.wordpress.com/2014/01/11/azure-table-storage-with-repository-pattern/

    Meanwhile we will get in touch with the relevant team for further assistance with this.
    We appreciate your patience.

    Regards,
    Malar.

    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Sunday, October 19, 2014 5:51 PM
  • Hi Mahender,

    Were you able to check the article suggested and try out the codes?
    You could also refer the following link for code samples to work with Azure Storage Table Entities.

    http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-tables/

    Regards,Malar.

    Thursday, October 23, 2014 11:27 AM
  • hi Mahender,

    I will mark this this thread as answer,if you find it no help,please fell free to unmark.
    Thanks & Regards,

    Will


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Sunday, October 26, 2014 12:06 PM