Method WithEntity
WithEntity(int)
Get all records matching an entity index.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithEntity(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | The entity index. |
Returns
Type | Description |
---|---|
RecordView[] | Array of EntitiesJournaling.RecordView. |
Remarks
Throws InvalidOperationException if records are currently locked for write.
WithEntity(int, int)
Get all records matching an entity index and version.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithEntity(int index, int version)
Parameters
Type | Name | Description |
---|---|---|
int | index | The entity index. |
int | version | The entity version. |
Returns
Type | Description |
---|---|
RecordView[] | Array of EntitiesJournaling.RecordView. |
Remarks
Throws InvalidOperationException if records are currently locked for write.
WithEntity(Entity)
Get all records matching an entity.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithEntity(Entity entity)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The entity. |
Returns
Type | Description |
---|---|
RecordView[] | Array of EntitiesJournaling.RecordView. |
Remarks
Throws InvalidOperationException if records are currently locked for write.
WithEntity(string)
Get all records matching an existing entity name.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithEntity(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The entity name. |
Returns
Type | Description |
---|---|
RecordView[] | Array of EntitiesJournaling.RecordView. |
Remarks
Throws InvalidOperationException if records are currently locked for write.