> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PropertyModelReference

> Represents a reference to property data in terms of a model.

## Definition

**Assembly:** Microsoft.Restier.Core.dll

**Namespace:** Microsoft.Restier.Core.Query

**Inheritance:** Microsoft.Restier.Core.Query.QueryModelReference

## Syntax

```csharp theme={"dark"}
Microsoft.Restier.Core.Query.PropertyModelReference
```

## Summary

Represents a reference to property data in terms of a model.

## Constructors

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `Microsoft.Restier.Core.Query.QueryModelReference`</Note>

#### Syntax

```csharp theme={"dark"}
internal QueryModelReference()
```

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `Microsoft.Restier.Core.Query.QueryModelReference`</Note>

#### Syntax

```csharp theme={"dark"}
internal QueryModelReference(Microsoft.OData.Edm.IEdmEntitySet entitySet, Microsoft.OData.Edm.IEdmType type)
```

#### Parameters

| Name        | Type                                | Description |
| ----------- | ----------------------------------- | ----------- |
| `entitySet` | `Microsoft.OData.Edm.IEdmEntitySet` | -           |
| `type`      | `Microsoft.OData.Edm.IEdmType`      | -           |

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> EntitySet <Badge color="blue">Override</Badge>

Gets the entity set that contains the data.

#### Syntax

```csharp theme={"dark"}
public override Microsoft.OData.Edm.IEdmEntitySet EntitySet { get; }
```

#### Property Value

Type: `Microsoft.OData.Edm.IEdmEntitySet`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> EntitySet <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `Microsoft.Restier.Core.Query.QueryModelReference`</Note>

Gets the entity set that ultimately contains the data.

#### Syntax

```csharp theme={"dark"}
public virtual Microsoft.OData.Edm.IEdmEntitySet EntitySet { get; }
```

#### Property Value

Type: `Microsoft.OData.Edm.IEdmEntitySet`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Property

Gets the property representing the property data.

#### Syntax

```csharp theme={"dark"}
public Microsoft.OData.Edm.IEdmProperty Property { get; }
```

#### Property Value

Type: `Microsoft.OData.Edm.IEdmProperty`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Source

Gets the source of the derived data.

#### Syntax

```csharp theme={"dark"}
public Microsoft.Restier.Core.Query.QueryModelReference Source { get; private set; }
```

#### Property Value

Type: `Microsoft.Restier.Core.Query.QueryModelReference`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Type <Badge color="blue">Override</Badge>

Gets the type of the queryable data.

#### Syntax

```csharp theme={"dark"}
public override Microsoft.OData.Edm.IEdmType Type { get; }
```

#### Property Value

Type: `Microsoft.OData.Edm.IEdmType`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Type <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `Microsoft.Restier.Core.Query.QueryModelReference`</Note>

Gets the type of the data, if any.

#### Syntax

```csharp theme={"dark"}
public virtual Microsoft.OData.Edm.IEdmType Type { get; }
```

#### Property Value

Type: `Microsoft.OData.Edm.IEdmType`

## Methods

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name  | Type      | Description |
| ----- | --------- | ----------- |
| `obj` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetHashCode <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetType <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> MemberwiseClone <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ReferenceEquals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ToString <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`
