public sealed class Projection : IMessage<Projection>, IEquatable<Projection>, IDeepCloneable<Projection>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Datastore v1 API class Projection.
A representation of a property in a projection.
Implements
IMessageProjection, IEquatableProjection, IDeepCloneableProjection, IBufferMessage, IMessageNamespace
Google.Cloud.Datastore.V1Assembly
Google.Cloud.Datastore.V1.dll
Constructors
Projection()
public Projection()
Projection(Projection)
public Projection(Projection other)
Parameter | |
---|---|
Name | Description |
other |
Projection |
Projection(string)
public Projection(string propertyName)
Creates a projection with a property of the given name.
Parameter | |
---|---|
Name | Description |
propertyName |
string The name of the property in the projection. |
Properties
Property
public PropertyReference Property { get; set; }
The property to project.
Property Value | |
---|---|
Type | Description |
PropertyReference |