@@ -107,7 +107,7 @@ async ValueTask<List<EntityMetadata>> ConvertResultsAsync(IEnumerable<Orchestrat
107107 entityResult = new List < EntityMetadata > ( ) ;
108108 foreach ( OrchestrationState entry in states )
109109 {
110- EntityMetadata ? entityMetadata = await this . GetEntityMetadataAsync ( entry , filter . IncludeStateless , filter . IncludeState ) ;
110+ EntityMetadata ? entityMetadata = await this . GetEntityMetadataAsync ( entry , filter . IncludeTransient , filter . IncludeState ) ;
111111 if ( entityMetadata . HasValue )
112112 {
113113 entityResult . Add ( entityMetadata . Value ) ;
@@ -200,7 +200,7 @@ bool OrchestrationIsRunning(OrchestrationStatus? status)
200200 } ;
201201 }
202202
203- async ValueTask < EntityMetadata ? > GetEntityMetadataAsync ( OrchestrationState ? state , bool includeStateless , bool includeState )
203+ async ValueTask < EntityMetadata ? > GetEntityMetadataAsync ( OrchestrationState ? state , bool includeTransient , bool includeState )
204204 {
205205 if ( state == null )
206206 {
@@ -209,7 +209,7 @@ bool OrchestrationIsRunning(OrchestrationStatus? status)
209209
210210 if ( ! includeState )
211211 {
212- if ( ! includeStateless )
212+ if ( ! includeTransient )
213213 {
214214 // it is possible that this entity was logically deleted even though its orchestration was not purged yet.
215215 // we can check this efficiently (i.e. without deserializing anything) by looking at just the custom status
@@ -247,7 +247,7 @@ bool OrchestrationIsRunning(OrchestrationStatus? status)
247247 string ? serializedEntityState = ClientEntityHelpers . GetEntityState ( serializedSchedulerState ) ;
248248
249249 // return the result to the user
250- if ( ! includeStateless && serializedEntityState == null )
250+ if ( ! includeTransient && serializedEntityState == null )
251251 {
252252 return null ;
253253 }
0 commit comments