Everytime I create test storage tables it only creates the timestamp, partitionkey and rowkey column and leaves all of my fields out. I even check directly in SQL Server where the test tables are.

Anyone know what the problem is?


public class MediaServiceContext : TableStorageDataServiceContext
public MediaServiceContext() :

public DataServiceQuery[ImageItem] Images
return CreateQuery[ImageItem]("Images");

(>< signs replaces with [ ])

Views: 9

Reply to This

Replies to This Discussion

I would look at the StorageClient sample in the Windows Azure SDK and compare what you are doing to that code.
Just did that, found out that I forgot to put accessor methods in my class.
Apparently they are needed by the storage client.
eg. public string ImageID { get; set; }

Thanx, Problem sorted out


Latest Activity

Profile IconKevin Rolnick, Tony Williams, Mark Sullivan and 48 more joined Azure User Groups
Sep 21, 2018

© 2019   Created by Azure Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service