EntityProperty Class
An entity property. Used to explicitly set EdmType when necessary.
Values which require explicit typing are GUID, INT32, and BINARY. Other EdmTypes may be explicitly create as EntityProperty objects but need not be. For example, the below with both create STRING typed properties on the entity:
entity = Entity()
entity.a = 'b'
entity.x = EntityProperty(EdmType.STRING, 'y')
- Inheritance
-
builtins.objectEntityProperty
Constructor
EntityProperty(type=None, value=None, encrypt=False)
Parameters
- type
default value: None
- value
default value: None
- encrypt
default value: False
Feedback
Submit and view feedback for