I have following code that was generated by the LLBLGEN project. Unfortunately, the LLBLGEN project file wasn't checked into the Source control by the previous developer , who worked on it. I would appreciate if you could help me to fix the LLBLGEN project, so that I can generate the following code.
Thanks,
Santhi
using System;
using System.Collections.Generic;
using System.Text;
using SD.LLBLGen.Pro.ORMSupportClasses;
using ABS.Data.EntityClasses;
using ABS.Data.HelperClasses;
namespace ABS.Data.FactoryClasses
{
public class TransactionDetailConcurrencyFactory : IConcurrencyPredicateFactory
{
#region IConcurrencyPredicateFactory Members
public IPredicateExpression CreatePredicate(ConcurrencyPredicateType predicateTypeToCreate, object containingEntity)
{
IPredicateExpression predicate = new PredicateExpression();
TransactionDetailEntity detail = containingEntity as TransactionDetailEntity;
switch (predicateTypeToCreate)
{
case ConcurrencyPredicateType.Save:
predicate.Add(TransactionDetailFields.LastChanged == detail.LastChanged);
break;
}
return predicate;
}
#endregion
}
}