Class PropertyBuilderExtensions
Inheritance
System.Object
PropertyBuilderExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mix.Database.EntityConfigurations
Assembly: mix.database.dll
Syntax
public static class PropertyBuilderExtensions
Methods
| Improve this Doc View SourceUseDefaultGUIDIf<TPrimaryKey>(PropertyBuilder<TPrimaryKey>, Boolean, String)
Declaration
public static PropertyBuilder<TPrimaryKey> UseDefaultGUIDIf<TPrimaryKey>(this PropertyBuilder<TPrimaryKey> builder, bool condition, string method)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyBuilder<TPrimaryKey> | builder | |
| System.Boolean | condition | |
| System.String | method |
Returns
| Type | Description |
|---|---|
| PropertyBuilder<TPrimaryKey> |
Type Parameters
| Name | Description |
|---|---|
| TPrimaryKey |
UseIncreaseValueIf<TPrimaryKey>(PropertyBuilder<TPrimaryKey>, Boolean)
Declaration
public static PropertyBuilder<TPrimaryKey> UseIncreaseValueIf<TPrimaryKey>(this PropertyBuilder<TPrimaryKey> builder, bool condition)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyBuilder<TPrimaryKey> | builder | |
| System.Boolean | condition |
Returns
| Type | Description |
|---|---|
| PropertyBuilder<TPrimaryKey> |
Type Parameters
| Name | Description |
|---|---|
| TPrimaryKey |