Ejemplo n.º 1
0
        /// <summary>
        /// The contructor requires an open DataContext to work with
        /// </summary>
        /// <param name="context">An open DataContext</param>

        public RepositoryPainting(PaintingContext context)
        {
            this.Context = context;
            entities     = context.Set <TEntity>();
        }