Class IntegerTableAttribute
Represents a integer table attribute.
Inheritance
IntegerTableAttribute
Implements
Inherited Members
Namespace: BiExcellence.OpenBi.Api.Commands.TableAttributes
Assembly: BiExcellence.OpenBi.Api.TableAttribute.dll
Syntax
public class IntegerTableAttribute : TableAttribute, ITableAttribute<int>, ITableAttribute, ICustomAttributes
Constructors
IntegerTableAttribute(string, string, string)
Initializes a new instance of the IntegerTableAttribute class.
Declaration
public IntegerTableAttribute(string id, string table, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The id. |
| string | table | The table name. |
| string | name | The name. |
IntegerTableAttribute(string, string)
Initializes a new instance of the IntegerTableAttribute class with a new id.
Declaration
public IntegerTableAttribute(string table, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | table | The table name. |
| string | name | The name. |
Methods
Deserialize(string?)
Deserializes the object based on the Type.
Declaration
public override object? Deserialize(string? obj)
Parameters
| Type | Name | Description |
|---|---|---|
| string | obj | The obejct. |
Returns
| Type | Description |
|---|---|
| object | The deserialized object. |
Overrides
Deserialize(JsonElement)
Deserializes the json element based on the Type.
Declaration
public override object? Deserialize(JsonElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonElement | element | The json element. |
Returns
| Type | Description |
|---|---|
| object | The deserialized object. |
Overrides
Serialize(int)
Serializes a integer to a string.
Declaration
public string Serialize(int obj)
Parameters
| Type | Name | Description |
|---|---|---|
| int | obj | The integer value. |
Returns
| Type | Description |
|---|---|
| string | The serialized string. |