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
/// <summary> | |
/// identity map pattern | |
/// </summary> | |
/// <typeparam name="T">class</typeparam> | |
/// <typeparam name="TIdentity">key type there index <typeparamref name="T"/></typeparam> | |
public interface IIdentityMap<T, TIdentity> where T : class | |
{ | |
/// <summary> | |
/// add a product to the map | |
/// </summary> |
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
[Test] | |
public void TestMessageCast() | |
{ | |
var id = Guid.NewGuid(); | |
nsTest.Initialize(); | |
nsTest.Handler<CommandHandler>() | |
.ExpectSend<CreateBookingCommand>(m => m.ShipmentId == id) | |
.ExpectSend<CreatedShipmentEvent>(m => m.ShipmentId == id) | |
.OnMessage<CreateShipmentCommand>(m => m.Id = id); |
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
<UserSettings> | |
<ApplicationIdentity version="10.0"/> | |
<ToolsOptions> | |
<ToolsOptionsCategory name="Environment" RegisteredName="Environment"> | |
<ToolsOptionsSubCategory name="Documents" RegisteredName="Documents" PackageName="Visual Studio Environment Package"> | |
<PropertyValue name="ShowMiscFilesProject">false</PropertyValue> | |
<PropertyValue name="AutoloadExternalChanges">false</PropertyValue> | |
<PropertyValue name="CheckForConsistentLineEndings">false</PropertyValue> | |
<PropertyValue name="SaveDocsAsUnicodeWhenDataLoss">false</PropertyValue> | |
<PropertyValue name="InitializeOpenFileFromCurrentDocument">true</PropertyValue> |
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
alias msbuild40=/c/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe |
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
<log4net debug="false"> | |
<appender name="console" type="log4net.Appender.ColoredConsoleAppender"> | |
<mapping> | |
<level value="Debug" /> | |
<foreColor value="White"/> | |
</mapping> | |
<mapping> | |
<level value="Info" /> | |
<foreColor value="Green"/> | |
</mapping> |
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
select ic.ItemCodeNo | |
, il.ItemLocalId | |
, i.ItemNo | |
, ru.RetailUnitNo | |
, pil.StartDate | |
, pil.EndDate | |
, pp.PromotionPOSNo | |
, pp.StartDateTime | |
, pp.EndDateTime | |
, promotionLineStatus.Code as "promotion line status code" |
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
select | |
t.name | |
, i.name | |
, s.user_seeks | |
, s.user_scans | |
, s.user_updates | |
, s.user_lookups | |
, s.last_user_seek | |
, s.last_user_scan |
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
%3 --fname %8 %2 --fname %7 %1 --fname %6 -o %4 |
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
use trio; | |
select commonCodeMaster.CommonCodeMasterId | |
, commonCodeMaster.commoncodeDomainId | |
, commonCodeMaster.code | |
, commonCodeDomain.DomainName | |
, commonCodeDetail.[Text] | |
from | |
commoncodemaster | |
inner join commoncodedomain on commoncodedomain.commoncodedomainid = commoncodemaster.commoncodedomainid |
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
SELECT i.ItemNo | |
, ic.InventoryCountingId | |
, ict.TypeCode InventoryCountingType | |
, ru.RetailUnitNo RetailUnitNo | |
, ru.RetailUnitId RetailUnitId | |
, MAX(ic.InventoryCountingDate) InventoryCountingDate | |
, MAX(ccmInventoryCountingCauseCode.Code) InventoryCountingCauseCode | |
, MAX(ccmInventoryCountingDailyStatusCode.Code) InventoryCountingDailyStatusCode | |
, MAX(ccmItemType.Code) ItemType | |
, SUM(icd.CountedQty) CountedQty |
OlderNewer