Class BooleanTableAttribute
Represents a boolean table attribute.
Inheritance
BooleanTableAttribute
Implements
Inherited Members
Namespace: BiExcellence.OpenBi.Api.Commands.TableAttributes
Assembly: BiExcellence.OpenBi.Api.TableAttribute.dll
Syntax
public class BooleanTableAttribute : TableAttribute, ITableAttribute<bool>, ITableAttribute, ICustomAttributes
Constructors
BooleanTableAttribute(string, string, string)
Initializes a new instance of the BooleanTableAttribute class.
Declaration
public BooleanTableAttribute(string id, string table, string name)
Parameters
Type | Name | Description |
---|---|---|
string | id | The id. |
string | table | The table name. |
string | name | The name. |
BooleanTableAttribute(string, string)
Initializes a new instance of the BooleanTableAttribute class with a new id.
Declaration
public BooleanTableAttribute(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(bool)
Serializes a boolean to a string.
Declaration
public string? Serialize(bool obj)
Parameters
Type | Name | Description |
---|---|---|
bool | obj | The boolean value. |
Returns
Type | Description |
---|---|
string | The serialized string. |