コード例 #1
0
 public virtual bool Save(SoftFluent.Samples.SignalR.Customer customer)
 {
     SoftFluent.Samples.SignalR.Customer customer1 = customer;
     if ((customer1 == null))
     {
         return(CodeFluentPersistence.DefaultBooleanValue);
     }
     return(customer1.Save());
 }
コード例 #2
0
        public virtual bool SaveByRef(ref SoftFluent.Samples.SignalR.Customer customer)
        {
            SoftFluent.Samples.SignalR.Customer customer1 = customer;
            if ((customer1 == null))
            {
                return(CodeFluentPersistence.DefaultBooleanValue);
            }
            bool ret = customer1.Save();

            customer = customer1;
            return(ret);
        }