Tous les codes sources "Inclassable"
C#
16 Juillet, 2014 à 03:02
#106
int c = (int) App.Session.CreateCriteria(typeof(Transaction)).Add(Restrictions.Between("CreationDate", fromDateTime, toDateTime)).Add(Restrictions.Eq("SaleSession.Salesman", salesman)).Add(Restrictions.Or(Restrictions.Eq("PayMethod", "cash"), Restrictions.Eq("PayMethod", "card"))).SetProjection(Projections.Count("Id")).UniqueResult();
Markup
09 Juillet, 2014 à 03:18
#147
if ([kReplyButton isEqualToString:@"0"]==TRUE || [kReplyButton isEqualToString:@"1"]==TRUE) {
if ([kReplyButton isEqualToString:@"0"]==TRUE) ireply.enabled = false;
[items addObject:ireply];
}