- 0 [REPETIDA]
- 1
- 2
- 3
- 4
- 5 [REPETIDA]
- 6
- 7
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 override ClientePessoaJuridica Save(string jsv) | |
{ | |
ClientePessoaJuridica model = jsv.FromJsv<ClientePessoaJuridica>(); | |
var lastindex = 0; | |
var startmark = "Imagem:"; | |
foreach (var dig in model.Digitalizacoes) | |
{ | |
var start = jsv.IndexOf(startmark, lastindex) + startmark.Length; | |
var end = lastindex = jsv.IndexOf(",", start); | |
dig.Imagem = Convert.FromBase64String(jsv.Substring(start, end - start).Replace(" ", "+")); |
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.Data.SqlClient; | |
using System.Configuration; | |
using System.Data; | |
namespace Infra | |
{ |
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
var tipoVeiculo = $(this).find("span").text(); | |
var tipoVeiculoSingular = (tipoVeiculo + " ").replace(/s /g, " "); | |
var tipoVeiculoSexo = tipoVeiculoSingular[tipoVeiculoSingular.length - 2]; | |
$(".createnew").text("Criar nov" + tipoVeiculoSexo + " " + tipoVeiculoSingular); |
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
if object_id('tempdb..#tempCobranca1') is not null | |
drop table #tempCobranca1 | |
select | |
parte, | |
tipoIf, | |
grupo, | |
faixa, | |
modalidadeLiquidacao, | |
dataOperacao, |
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
internal abstract class AbstractDays360 | |
{ | |
public abstract int Calculate(DateTime start, DateTime end); | |
protected static int Calculate(DateTime start, DateTime end, int startDay, int endDay) | |
{ | |
return (end.Year - start.Year) * 360 + (end.Month - start.Month) * 30 + (endDay - startDay); | |
} | |
protected static bool LastDayOfFebruary(DateTime date) |
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 NUnit.Framework; | |
using SharpTestsEx; | |
using Vinci.Framework.DataBase; | |
namespace TestDapper |
NewerOlder