All Questions

1
answer

Complex type can have Entity Type property?

I have an Address class that is Complex Type . Can it have a state property that is an Entity Type ? Class Code: public class Endereco { ... public string Logradouro { get; set; } public Estado Estado { get; set; } } public cl...
asked on 06.01.2016 / 18:59
1
answer

WINDOWS CMD Commands

I do not know if you can ask questions about this, but I'm having trouble opening the file continuously in Windows CMD. When I use Linux, just do this: tail -f C:\xampp\apache\logs\error.log But in Windows this command does not work. Doe...
asked on 06.02.2016 / 01:39
2
answers

SELECT returning data that was not seen by a certain user

I'm having a hard time putting together Query I have 2 tables: video_visualizacoes with fields visualizacao_id, video_id, conta_id (This field refers to the user who viewed the video) ". videos with fields vi...
asked on 15.01.2016 / 20:01
1
answer

Perform RANDOM SELECT [duplicate]

I have a table where I always want to display a single record in a random fashion. I'm doing this: SELECT 'id' FROM 'tabela' ORDER BY RAND() LIMIT 1 I see that in this way the same records repeat a lot, is there a better way to do it?...
asked on 18.01.2016 / 10:21
1
answer

How to get an image of a resource

I want to call a picture with a button in Visual Basic 2010 Express , in Visual Basic 2008 , I used this code: picMyimage.image = My.resource.onomedaimagen Until then it worked as it wished, however in Visual Basic 2010 is not working, w...
asked on 08.02.2016 / 11:49
1
answer

php vs nodejs performance on websockets server

What I take for granted today is that nodejs is best suited to work with a constant pool of sockets (websockets in this case) because by being single-threaded each new connection generates an extra minimal memory consumption (a few hundred KBs),...
asked on 15.02.2016 / 00:25
1
answer

Generate Danfe from NFe XML [closed]

I'm developing a ASP.NET MVC application with C# and need to transform XML of NF-e to Danfe in PDF , does anyone know any component for this?     
asked on 27.01.2016 / 11:00
1
answer

How to use GOTO in C to implement finite automata?

This is my first time using goto in programming and I made a simple code here to try to implement automato (it should have much better modes), however my code is crashing at the time of execution, I do not know if it is a bad use of GOTO...
asked on 13.02.2016 / 17:51
1
answer

Capture image by url

I have the following url: link {{name}} .png Replacing the word nome with a specific name and navigating to the page in question shows an image.png. How can I capture this image using angularjs? Ex: link     
asked on 18.02.2016 / 19:29
4
answers

SQL Home Time (Years, months and days) [duplicate]

I need to create a function in SQL that returns employee's time, for example: years , months and days So far I've been able to bring the years and months , but I could not reach the day's logic yet, / p> DECLARE @DTINI DATE, @DTFI...
asked on 30.12.2015 / 12:58