Click here to Skip to main content
15,888,816 members
Articles / Database Development / SQL Server

LINQ Challenges and SQL Server Compact Edition

Rate me:
Please Sign up or sign in to vote.
4.81/5 (40 votes)
25 Mar 2008CPOL22 min read 192.5K   1.1K   165  
Overcoming challenges with LINQ to SQL and using LINQ with SQL Server Compact Edition.
using System;
using System.Collections.Generic;
using System.Text;

namespace TimeApp.DataAccess {

	/// <summary>
	/// Indicates the type of comparison with estimated durations that are provided for tasks/projects.
	/// </summary>
	public enum EstimationComparisonType : byte {

		/// <summary>
		/// Overall calculations will sum all time entries for a task before comparing against the 
		/// estimated duration.
		/// </summary>
		Overall = 1,

		/// <summary>
		/// Repeating calculations will group time entries by 24-hour slices before comparing. 
		/// The start time for the 24-hour slice is defined in the program options.
		/// </summary>
		Repeating = 2

	}

}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
I began programming on my Commodore 64 at around the age of 12. After migrating to DOS and then Windows, I decided to take on the Web. Several languages and platforms later, I have settled in with .NET nicely. I am currently the owner of a software consulting company and lead application developer for a learning-based technology consultation company.

The love of a finished application is usually at war with the desire to improve it as soon as it's released (they're never really finished).

Comments and Discussions