Exemplo n.º 1
0
    private void AddTaskId(IContext context, IEntity entity)
    {
        TaskEntity taskEntity = entity as TaskEntity;

        if (taskEntity != null)
        {
            taskEntity.AddId(currentId++);
        }
    }