-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented sample for TrackableEntities#216
- Loading branch information
Showing
8 changed files
with
60 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace ScaffoldingSample; | ||
|
||
public struct EmployeeId | ||
{ | ||
private readonly System.Int32 _value; | ||
|
||
private EmployeeId(System.Int32 value) | ||
{ | ||
_value = value; | ||
} | ||
|
||
public static explicit operator EmployeeId(System.Int32 value) | ||
{ | ||
return new EmployeeId(value); | ||
} | ||
|
||
public static explicit operator System.Int32(EmployeeId value) | ||
{ | ||
return value._value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace ScaffoldingSample; | ||
|
||
public struct TerritoryId | ||
{ | ||
private readonly System.String _value; | ||
|
||
private TerritoryId(System.String value) | ||
{ | ||
_value = value; | ||
} | ||
|
||
public static explicit operator TerritoryId(System.String value) | ||
{ | ||
return new TerritoryId(value); | ||
} | ||
|
||
public static explicit operator System.String(TerritoryId value) | ||
{ | ||
return value._value; | ||
} | ||
} |