Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do Azure table services entities have an equivalent of NonSerializedAttribute?

If I'm trying to serialize a normal CLR object, and I do not want a particular member variable to be serialized, I can tag it with the

[NonSerialized]

attribute. If I am creating a table services entity, is there an equivalent attribute I can use to tell Azure table services to ignore this property?

like image 863
please delete me Avatar asked Mar 21 '11 14:03

please delete me


1 Answers

For Version 2.1 there is a new Microsoft.WindowsAzure.Storage.Table.IgnoreProperty attribute. See the 2.1 release notes for more information: http://blogs.msdn.com/b/windowsazurestorage/archive/2013/09/07/announcing-storage-client-library-2-1-rtm.aspx.

like image 183
Peter Oehlert Avatar answered Oct 20 '22 21:10

Peter Oehlert