public virtual bool DeleteByKey(System.Guid id) { SoftFluent.Samples.SignalR.Customer customer = SoftFluent.Samples.SignalR.Customer.Load(id); if ((customer == null)) { return(CodeFluentPersistence.DefaultBooleanValue); } return(customer.Delete()); }
public virtual bool Delete(SoftFluent.Samples.SignalR.Customer customer) { SoftFluent.Samples.SignalR.Customer customer1 = customer; if ((customer1 == null)) { return(CodeFluentPersistence.DefaultBooleanValue); } return(customer1.Delete()); }