Is it possible to execute a SQL (TSQL or Linq To SQL) from within a T4 Template so that the schema information from a table can be used to customized the code generation?
Thanks
Hi all,
Please help me about my doubts on excel and php. I need to do the following process on excel report generation using php
to change cell's font styles
to change cell's BG color
to change cell's width
Hi!
My project actually use XML files to define flow of the application.
I like to convert this XML a image that represent the flow, to use it in the documentation.
There is any c# library that help with the graphical part of a UML generation?
There is any XML standart format to generate UML flows that can be converted to IMG?
I need something like this
http://en.wikipedia.org/wiki/File:LampFlowchart.svg
Is there a way to tell the .NET to allocate a new object in generation 2 heap. I have a problem where I need to allocate approximately 200 MB of objects, do something with them, and throw them away. What happens here is that all the data gets copied two times (from gen0 to gen1 and then from gen1 to gen2).
@constant kAudioSessionProperty_AudioInputAvailable
A UInt32 with a value other than zero when audio input is available.
Use this property, rather than the device model, to determine if audio input is available.
A listener will notify you when audio input becomes available. For instance, when a headset is attached
to the second generation iPod Touch, audio input becomes available via the wired microphone.
So, if I wanted to get notified about kAudioSessionProperty_AudioInputAvailable, how would I do that?
Given the potential performance improvements from LTCG (link time code generation, or whole program optimization), which requires the availability of .obj files, does Microsoft make available the .obj files for the various flavors of its MSVCRT releases? One would think this would be a good place for some potential gain. Not sure what they have to lose since the IL that is generated in the .obj files is not documented and processor specific.
Does css "content" property break the rule of content and separation because css is for presentation not to generation content?
By the way What are other good uses of css "Content" property? i've seen this only in clear fix hack.
We have a strange problem in our team. When a developer is using Eclipse in Debug mode, MS SQL Server 2005 blocks other developers from accessing a stored procedure. Debug session typically involves opening Hibernate session to persist an entity which could be accessing a stored procedure used for Primary key generation. Debugging is done in business logic code and rarely in JDBC stored procedure call.
Is there any way to configure MS SQL server or the stored procedure so that other developers are not blocked?
hello everybody!
can anyone tell me how to create 2 different thumbnails of same images with different sizes and location in codeigniter. I have created a upload function and another thumbnail generation function, it works fine but can't sort out how to create 2 different thumbnail at accordingly at once. any help will be appreciated.
Hi, im trying to sort my transformed output by a element which contains a hex value.
<xsl:sort select="Generation/Sirio/Code" data-type="number"/>
Values are plain old Hex: 00 01 02 ... 0A ... FF but they are getting sorted like that: 0A FF 00 01 02, which indicates the sorting method fails as soon as there are character involved.
How can i work around this?
Thank you very much!
There are a few related questions on SO - but have not found the answer -
I would like to generate a "signature"/bucket id to report a minidump/crash back to our issue tracking system. Since MS already does this with "bucket ids" I figured I could just re-use their bucket/signature generation.
Can I get that ID from either a top level filter or the _EXCEPTION_POINTERS object I have inside the filter or the _MINIDUMP_EXCEPTION_INFORMATION structure or from the minidump itself?
This is a C++ application.
Weird question: I have an iPod Touch and plan to get an iPhone once the next generation comes out.
Now, my main machine is a Windows PC which is where the iPod is connected to. As I need a Mac to do development, I wonder if it is possible to connect the iPod to the Mac for Xcode/Development but keep it synced to Windows for Syncing?
Not sure if this belongs here or on SuperUser though.
Hey, my problem is as follows,
I am trying to create code where a set of sporting fixtures are created with dates on.
Say I have 8 teams, with 7 rounds of fixtures.
I have generated the fixtures, but want to add a date generation on them.
So if i had 7 rounds, I would put 28 days and it would make each round 4 days from now, 8 days from now, etc.
What would be the best way to go about doing this?
Thanks
I'm using entity framework model first development, and I need to do database migration often,
The EF database generation power pack doesn't help a lot, because that data migration never worked here.
The database migration here I mean, change the model, and then I can update the existing database from the model, but creating a new one.
Is there any free of charge tool here invented here yet? Or would this going to be a new feature of next EF release?
PS: I love django's ORM.
I'm bit confused. I've been building my sites with my own session system, but i'm not sure how secure the php's own session system is. My session system usually just has user id and quite harsh hash, which does not include user name or password for generation. I save the hash in the user database and as a cookie to confirm the user session on every page load. So my question is should i keep using my own systems or try out php sessions?
I am creating a Crystal 2008 report, and I'd like to provide it a T-SQL statement for data generation, instead of selecting and joining together tables. Can this be done?
I have a few tables where Foreign Key constraints are added. These are used with code generation to set up specific joins in generated stored procedures.
Is it possible to override these constraints by calling multiple deletes within a transaction, specifically "TransactionScope" in C# or is cascaded deleting absolutely required?
As we know to generate a class file there should be atleast one class or interface or an Enum should be declared in the java file.
So i was curious that is there anything else as well other the mentioned which can cause a class file generation.
Or did anybody think that as we can declare the above mentioned, we can declare this(Which you think) as well ?
I'm writing an app code to do video recording on iPhone much like all the available apps :) ...
All im trying to do is capture screen from iPhone camera on 3g mobile and sending them to server .. but want some time efficient approach for sending to server and capturing image sequences ...
its like i want to send 15 images / second to server in one single go :P
i've set up server with FFMPEG and other codecs so their is no issue in generation of live video / stream ....
Help me ...special reward for best helping answer
Is there any solution available for generating UML diagrams (or at least XMI files) in C#.NET?
Bear in mind that I don't want to reverse engineer my code but automate UML diagrams generation (different kind of them, mostly component diagrams).
I have two tables with different structure:
TableSource:
intId(not null), txtSummary, strDetail
TableDesc:
guidId(not null), guidFK(not null), Name, Detail
I want to migrate data from two fields of tableSource(txtSummary, strDetail) to
two fields of tableDesc(Name, Detail).
For simply,suppose that guidId and guidFK are auto generation.
I'v tried but not success. Could anyone help me?
My Zend application is going to get an command line php script that should email reports. There generation depends on Zend_View, Zend_Layout and is currently already working fine in the web interface.
How can I reuse this whole MVC functionality in the command line?
Should I add a new controller CommandLineController and call this somehow from the commandline?
How can I kick of such a Controller manually, without having a HTTP request?
I'm generating code dynamically, currently using String.Format and embedding placeholders - but reformatting the C# code for use as a template is a pain, and I think using a T4 template would be better.
However, the code generation will be happening on a running system, so I need to know that I can safely and legally redistribute the Microsoft T4 Engine with my product.
Anyone else done this? Or know the (legal) answer?
Is there any good tool or tool-chain that allows UML images in the .svg format to be created from a textual source file?
The reason for this question is that I want to automate the generation of these images to avoid having to manually create and update this set of images.
I'm looking for some resources that demonstrate good graphic design for generated (PHP/HTML/CSS) reports.
The website I'm designing is essentially a long test. Everything is finished except the report generation, and this part needs to look good!
I'd appreciate any advice/resources you can point me to! I know this isn't directly programming related, but my purposes do encompass coding and output.