Posts

c# - Should I be using EF6 from a SQL CLR Function -

I have been hired to take some complex calculation code (C #) and research on going into the CLR function on SQL Server. I have the problem that the calculation uses the data layer which uses EF6. Obviously I have to remove a small part of the existing code for the CLR function (SAR), but I still have to fulfill all the dependencies. My question is how can I do this [which comes later :)] so should I will do this? Either way it is wrong to fill the entire EF in the database so that I am using it to calculate - it seems very bloated. Opinion, suggestions, please consider? Thanks Unless pressing lot To keep the code-base in sync between the application layer and this SQLLLR function, I would say: No, it does not seem like, if that is the case, it is useful to do this. You need some data points and using a simple SqlConnection for those simple string context connection = true; is very easy to use -process connection). And, seeing that the performance is a conc...

objective c - iOS UIButton Selected State -

Image
मैं निम्नलिखित चित्र बटन स्थिति को प्राप्त करना चाहता हूं। जब "शुरू होता है .." क्षेत्र को छुआ जाता है, तो क्षेत्र को हाइलाइट किया जाता है और एक डेडेक्कर पॉप अप होता है। मेरा दृष्टिकोण पूर्ण-चौड़ाई वाला बटन बना रहा है और दो लेबल्स को स्थानांतरित करता है, आज की शुरुआत में 12:00 पूर्वाह्न। जब उपयोगकर्ता बटन को छूता है, तो मैं डेटपाकर को खींच कर कार्रवाई का जवाब देता हूं। ये मेरे प्रश्न हैं। क्या यह दृष्टिकोण परंपरागत है? मैं एक बटन को "चुने हुए" राज्य में कैसे बनाऊं? मैंने पृष्ठभूमि की छवि को बदलने के लिए निम्नलिखित की कोशिश की: UIImage * buttonImage = [[UIImage imageNamed: @ "btn_carrot.png"] resizableImageWithCapInsets: UIEdgeInsetsMake (18, 18, 18, 18)]; UIImage * buttonImageHighlight = [[UIImage imageNamed: @ "btn_light_carrot.png"] resizable चित्रमार्ग के साथ कैप्सइन्ससेट: UIEdgeInsetsMake (18, 18, 18, 18)]; [स्वयं। स्टार्टडेट बटन सेटबैकग्राउंड छवि: बटन छवि के लिए स्टेट: UIControlStateNormal]; [Self.startDateButton setBackground...

twitter bootstrap - Anchor links are not working in android -

Image
Web links are not clickable in Android Chrome and Firefox but this is working in Opera. It is built with Twitter Bootstrap: Even if in computer You change the size of the browser to work for the minimum width. In this there is something with the scallfolding jscrice T is something that makes the link easy and "#". However, if you maximize it on the desktop the link is working. Some scallfolding codes are removing hyperlinks with the Dumkinks. Just check if someone is doing javascript,

xamarin.ios - Xamarin is displaying photos with a random rotation -

I am working with the hybrid xamarin application. Pictures stored in my deviocasses (like pictures) are shown well, but when I display those pictures, photos (new photos or photos stored in my device) are displayed with rotation of 45 degrees or 90 degrees , But is very random only with photos and I tried to add the CSS code: rotation: 0deg; There is always a problem for the photo but some people have an idea about the problem?

for loop - For looping in MATLAB -

Image
निम्न आंकड़ा ड्राइंग के लिए MATLAB कोड लिखें। मेरा प्रयास: आंकड़ा अक्ष बराबर अक्ष ([0 100 0 100]), [ 0], 'चेहरे का रंग', 'आर') मुझे समझ में नहीं आता कि रिक्त ऊपर कैसे भरें। मुझे पता है कि जिन मूल्यों को जाना चाहिए I के पिछड़े तत्व हैं, अर्थात्। [90 80 70 60 50 40 30 20 10] लेकिन इसे कैसे लिखना है? कृपया मदद करे। I = 10:10 के लिए आंकड़ा अक्ष समान अक्ष ([0 100 0 100]) : 90 आयत ('स्थिति', [i / 2, i, 100-i, 5], 'वक्रता', [0], 'फेस-कॉलर', 'आर') पर अंत ग्रिड

extract string using ruby regex -

I have a string "Fashion Project - Institute of Fashion Technology Project and Science " I need to remove the string as the name of the project and its description so that it can return an array. [0] = "Fashion Project" array [1] = "Project of Fashion Technology and Science" I With the split method, Array [1] returned the "Fashion Project", I did it "Fashion Project - Fashion-Technology and Project of Science - Institute" .split ( '-') You can also try 2.1.2: 007> S = "The Fashion Project - Project of Fashion-Technologies and Science Institute" = & gt; "Fashion Project - Project of Fashion-Technologies and Science Institute" 2.1.2: 008 & gt; S.split (/ \s [- \ b] \ s /) = & gt; ["Fashion Project", "Project of Fashion-Technology and Science Institute"] 2.1.2: 00 9 & gt;

ios - How to add animation in UICollection View -

Image
I'm not sure whether the question title is an illustration, I have images The first image shows a UICollectionView. On the click of any cell, it should be converted to 2 image. That is, a new popup will occur, and cell 3 and cell 4 will go down from the bottom. Or can I say on the click of 3 cells, 5,6 cells will go down. How come? How can I show this animation? Please help more information? A solution, maybe, in the footer for a reusable scene, showing it and hiding it. But I need a more effective method. I also have to design this app for iPhone and iPad Just define several UICollectionViewCell classes, register them in your controller class and enter items for the model on user tasks. In that case the red cell on the "Image 2" would be just another UICollectionViewCell example.