This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package id.ac.polban.jtk.project3.travlendar2A.DaoConcreteClass; | |
| import id.ac.polban.jtk.project3.travlendar2A.DaoInterface.ILocationDao; | |
| import id.ac.polban.jtk.project3.travlendar2A.Models.Location; | |
| import java.sql.ResultSet; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Koneksi | |
| { | |
| private $servername = "localhost"; | |
| private $dbname = "dakademik"; | |
| private $username = "root"; | |
| private $password = ""; | |
| /** Koneksi **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "reflect" | |
| "strings" | |
| ) | |
| type Mahasiswa struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type Mahasiswa struct { | |
| ID int `field:"mhs_id" json:"id"` | |
| Name string `field:"mhs_name" json:"name"` | |
| NIM string `field:"mhs_nim" json:"nim"` | |
| Matkul Matakuliah `json:"matkul_mhs"` | |
| } | |
| type Matakuliah struct { | |
| ID int `field:"matkul_id" json:"id"` | |
| MhsID int `field:"mhs_id" json:"mhs_id"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| "strings" | |
| ) | |
| func getInsertQueryByReflection(objValue reflect.Value) string { | |
| objType := objValue.Type() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SocialDivision | |
| { | |
| private string Name { get; set; } | |
| public void RenderHtml() | |
| { | |
| } | |
| public void DoBhaktiSocial() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SocialDivision | |
| { | |
| private string Name { get; set; } | |
| public void DoBhaktiSocial() | |
| { | |
| } | |
| public void DoExternalContact() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Newtonsoft.Json; | |
| using SmartLibrary.Web.IntegrationTest; | |
| using SmartLibrary.Web.Models.Entity; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Net.Http; | |
| using System.Threading.Tasks; | |
| using Xunit; | |
| namespace SmartLibrary.WebAPI.IntegrationTest.Controllers.Catalogue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace SmartLibrary.Catalogue | |
| { | |
| [ApiController] | |
| [Route("api/catalogue/[controller]")] | |
| public class BookShelfController : ControllerBase | |
| { | |
| private readonly AppDbCon DbCon; | |
| public BookShelfController(AppDbCon dbC) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using Microsoft.AspNetCore.Mvc; | |
| using Microsoft.Extensions.Logging; | |
| using SmartLibrary.Web.Models.Entity; | |
| using SmartLibrary.Web.Models.Repository; | |
| using SmartLibrary.WebAPI.Models.Schema; | |
| namespace SmartLibrary.Web.Controllers.Catalogue | |
| { | |
| [ApiController] |
OlderNewer