|
Wersja 752, 0.6 KB
(wprowadzona przez marek, 17 years temu)
|
|
wiersz
|
| Rev | Line | |
|---|
| [752] | 1 | using System;
|
|---|
| 2 | using System.Collections.Generic;
|
|---|
| 3 | using System.Data.Linq;
|
|---|
| 4 | using System.Linq;
|
|---|
| 5 | using System.Text;
|
|---|
| 6 | using Wierszowki.Core.Interfaces;
|
|---|
| 7 | using Wierszowki.Core.Linq;
|
|---|
| 8 |
|
|---|
| 9 | namespace Wierszowki.Services
|
|---|
| 10 | {
|
|---|
| 11 | public class BaseService
|
|---|
| 12 | {
|
|---|
| 13 | public WierszowkiDataContext DataContext { get; set; }
|
|---|
| 14 |
|
|---|
| 15 | public BaseService()
|
|---|
| 16 | {
|
|---|
| 17 | DataContext = new WierszowkiDataContext();
|
|---|
| 18 | }
|
|---|
| 19 |
|
|---|
| 20 | public BaseService(WierszowkiDataContext dataContext)
|
|---|
| 21 | {
|
|---|
| 22 | DataContext = dataContext;
|
|---|
| 23 | }
|
|---|
| 24 | }
|
|---|
| 25 | }
|
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.