Last active
June 7, 2016 05:34
-
-
Save taknb2nch/3d356cc2d74fc9deae8fde7b2739769b to your computer and use it in GitHub Desktop.
seasar-dotnet:2497のサンプル
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
public class Main { | |
protected TestBhvService service; | |
public static void Main(string[] args) | |
{ | |
var m = new Main(); | |
QuillInjector.GetInstance().Inject(m); | |
m.Run(); | |
} | |
public void Run() | |
{ | |
service.GetK010Info(1); | |
} | |
} |
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
[Implementation] | |
[Transaction] | |
public class TestBhvService : TestBase | |
{ | |
protected テーブルBhvクラス bhv; | |
public TestBhvService() { } | |
public virtual テーブルEntityクラス GetK010Info(int intNumber) | |
{ | |
var cb = new テーブルCBクラス(); | |
cb.Query().Setキー_Equal(intNumber); | |
return bhv.SelectEntity(cb); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment