예제 #1
0
        public void AddEntitie(TestEntitie ent)
        {
            //TestEntities.Add(ent);

            //TestEntities.Add(new TestEntitie().SetTestInt(222).SetTestString("sdssdss").Save());
            TestEntitieBuilder buildertest = new TestEntitieBuilder();

            // buildertest.Create().SetTestString("asdfsdfa").SetTestInt(234234);
            buildertest.Create().SetTestString(ent.teststring).SetTestInt(ent.testint);
            TestEntities.Add(buildertest.Value());
        }
예제 #2
0
 public IFluentTest Create()
 {
     _ent = new TestEntitie();
     return(this);
 }