Method WithEntity
WithEntity(Int32)
Get all records matching an entity index.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithEntity(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The entity index. |
Returns
| Type | Description |
|---|---|
| EntitiesJournaling.RecordView[] | Array of EntitiesJournaling.RecordView. |
Remarks
Throws InvalidOperationException if records are currently locked for write.
WithEntity(Int32, Int32)
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 |
|---|---|---|
| Int32 | index | The entity index. |
| Int32 | version | The entity version. |
Returns
| Type | Description |
|---|---|
| EntitiesJournaling.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 |
|---|---|
| EntitiesJournaling.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 |
|---|---|
| EntitiesJournaling.RecordView[] | Array of EntitiesJournaling.RecordView. |
Remarks
Throws InvalidOperationException if records are currently locked for write.