Hey

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() :
base(StorageAccountInfo.GetDefaultTableStorageAccountFromConfiguration())
{
}

public DataServiceQuery[ImageItem] Images
{
get
{
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

RSS

Latest Activity

Profile IconKevin Rolnick, Tony Williams, Mark Sullivan and 48 more joined Azure User Groups
Sep 21, 2018
chandupatla joined Mike Holdorf's group
Thumbnail

Dallas Azure User Group

Dallas Azure User Group - Meetings held at the Microsoft Technology Center in Las Colinas
Apr 20, 2017
Anthony.Tex.M posted a status
"We are ACTIVE on http://www.hccug.org ... and open for new members!"
Feb 21, 2017
Ani Arth posted an event
Thumbnail

Live! 360 Orlando at Loew's Royal Pacific Resort

November 17, 2014 to November 21, 2014
Live! 360 brings together five conferences, and the brightest minds in IT and Dev, to explore leading edge technologies and conquer current ones. These co-located events will incorporate knowledge transfer and networking, along with out-of-this-world education and training, as you create your own custom conference, mixing and matching sessions and workshops to best suit your needs. Whether you are a developer who uses Visual Studio, SQL Server, and SharePoint;…See More
Jun 6, 2014

© 2019   Created by Azure Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service