So I want to create my own Azure Table class that uses only IronPython for declaration. To define such class in C# i use property. How to translate it straight into pythonic way?
I now that when I overrride C# class all properties thanks to reflection to get_Name and set_Name and in this way I can override them. But I want to create new Properties visible in C#. 1
In Python there is property function to create such. But will python property be recognize by C#? I can setter and getter functions rename to C# reflection model. 2
Maybe in assemblies there are some way to create property in other way then syntactic sugar? I didn’t find it.
I want to show that there is possibility to use Azure Tables in only IronPython.
I am not familiar with Iron Python. This blog post may help, but it requires us to define the data model in C# and then invoke the data model from Iron Python: http://blog.sharpthinking.com.au/post/2009/02/20/Azure-Table-Storage-in-IronPython.aspx. In the end, table storage is a REST service. So we can use the REST APIs to work with table storage in any language of our choice. If it doesn’t offer a client library in the language of our choice, we can build our own. Some third party libraries for OData may also help, as table storage uses OData protocol. I would recommend you to have a look at http://code.google.com/p/odata-py/.
Best Regards,
Ming Xu.