예제 #1
0
 public UserSyncService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <UserSyncTable>();
     _sqlConnection.CreateTable <ContentSyncData>();
 }
예제 #2
0
 public StudentCommonDataService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <AllComanDataModel>();
     _sqlAsyncConnection = _dbconnection.GetAsyncConnection();
 }
예제 #3
0
 public ContentItemTalliesScoresService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <ContentItemTallyScore>();
     _sqlAsyncConnection = _dbconnection.GetAsyncConnection();
 }
예제 #4
0
 public ContentGroupService()
 {
     _dbconnection       = DependencyService.Get <IDBConnection>();
     _sqlConnection      = _dbconnection.GetConnection();
     _sqlAsyncConnection = _dbconnection.GetAsyncConnection();
     _sqlConnection.CreateTable <ContentGroup>();
 }
예제 #5
0
 public ContentCategoryItemsService()
 {
     _dbconnection       = DependencyService.Get <IDBConnection>();
     _sqlConnection      = _dbconnection.GetConnection();
     _sqlAsyncConnection = _dbconnection.GetAsyncConnection();
     _sqlConnection.CreateTable <ContentCategoryItem>();
 }
예제 #6
0
 public ContentRubricPointsService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <ContentRubricPoint>();
     _sqlAsyncConnection = _dbconnection.GetAsyncConnection();
 }
예제 #7
0
 public ContentBasalCeilingsService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <ContentBasalCeilings>();
     _sqlAsyncConnection = _dbconnection.GetAsyncConnection();
 }
예제 #8
0
 public ContentItemAttributesService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <ContentItemAttribute>();
     _sqlAsyncConnection = _dbconnection.GetAsyncConnection();
 }
예제 #9
0
 public PermissionService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <Permissions>();
     _sqlAsyncConnection = _dbconnection.GetAsyncConnection();
 }
예제 #10
0
        public IEnumerable <UserInfo> FindAll()
        {
            using (var conn = _dBConnection.GetConnection())
            {
                try
                {
                    conn.Open();


                    return(conn.Query <UserInfo>(
                               "SELECT [LocalID],[UserID],[OpenID],[WinCase],[TotalCase] FROM [UserInfo]"));
                }
                catch (Exception ex)
                {
                    throw ex;
                }
            }
        }
 public ProductResearchCodeValuesService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <ProductResearchCodeValues>();
 }
예제 #12
0
 public StudentFundingSourceService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <StudentFundingSources>();
 }
예제 #13
0
 public OrgRecordFormService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <OrganizationRecordForms>();
 }
예제 #14
0
 public AssessmentsService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <Assessment>();
 }
예제 #15
0
 public ClinicalTestFormService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <StudentTestFormOverview>();
 }
예제 #16
0
 public StudentTestFormsService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <StudentTestForms>();
 }
예제 #17
0
 public ProgramNoteService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <ProgramNoteModel>();
 }
예제 #18
0
 public ExaminerService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <SearchStaffResponse>();
 }
예제 #19
0
 public LocationService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <Location>();
 }
예제 #20
0
 public ProductService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <Product>();
 }
예제 #21
0
 public UsersPermissionService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <PermissionsOnUsers>();
 }
예제 #22
0
 public UsersService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <Users>();
 }
예제 #23
0
 public MembershipService()
 {
     _dbconnection  = DependencyService.Get <IDBConnection>();
     _sqlConnection = _dbconnection.GetConnection();
     _sqlConnection.CreateTable <Membership>();
 }