This file contains 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
angular.module('myApp', ['myDepencencies']) | |
.config(function ($httpProvider) { | |
$httpProvider.defaults.useXDomain = true; | |
$httpProvider.defaults.withCredentials = true; | |
delete $httpProvider.defaults.headers.common["X-Requested-With"]; | |
$httpProvider.defaults.headers.common["Accept"] = "application/json"; | |
$httpProvider.defaults.headers.common["Content-Type"] = "application/json"; | |
}); | |
This file contains 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
<link rel="import" href="../core-ajax/core-ajax.html"> | |
<link rel="import" href="../cool-clock/cool-clock.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
This file contains 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
<link rel="import" href="../google-map/google-map-directions.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-tooltip/core-tooltip.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> |
This file contains 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 IEnumerable<Cliente> GetClientes() | |
{ | |
List<Cliente> AllClientes = new List<Cliente>(); | |
XPCollection<Cliente> clientes = new XPCollection<Cliente>(XpoDefault.Session); | |
foreach (var cliente in clientes) | |
{ | |
AllClientes.Add(new Cliente | |
{ | |
Oid = cliente.Oid, |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
///model | |
public class CustomerDAO{ | |
public XPCollection<Client> getAllCustomer() | |
{ | |
var session = Session.DefaultSession; | |
XPCollection<Client> Customers = new XPCollection<Client>(session); | |
return Customers; |
This file contains 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
/** | |
* @author: Lucio G. Pasos | |
* @description: Metodo para obtener todos los clientes | |
* @name: getAllClientes | |
* | |
* | |
* */ | |
public XPCollection<Cliente> getAllClientes() | |
{ | |
using (var uow = new UnitOfWork()) |
This file contains 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
CREATE TABLE Cliente ( | |
idCliente INT NOT NULL, | |
nombre VARCHAR(25) NOT NULL, | |
apPaterno VARCHAR(25) NOT NULL, | |
apMaterno VARCHAR(25) NOT NULL, | |
rfc VARCHAR(25) NOT NULL, | |
direccion VARCHAR(25) NOT NULL, | |
telefono VARCHAR(15) NOT NULL, | |
CONSTRAINT idCliente PRIMARY KEY (idCliente) |
This file contains 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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using DevExpress.Xpo; | |
using DevExpress.Data.Filtering; | |
namespace Clientes_Orden.Model | |
{ |
This file contains 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
{ | |
"analisis": { | |
"metadatos": [ | |
{ | |
"fecha_elaboracion": [ | |
"" | |
], | |
"fecha_modificacion": [ | |
"" | |
], |
NewerOlder